diff --git a/device.mk b/device.mk index e78a5e1..125a1f0 100644 --- a/device.mk +++ b/device.mk @@ -443,6 +443,9 @@ PRODUCT_PACKAGES += \ PRODUCT_COPY_FILES += \ kernel/motorola/msm8953/drivers/staging/prima/firmware_bin/WCNSS_cfg.dat:$(TARGET_COPY_OUT_VENDOR)/firmware/wlan/prima/WCNSS_cfg.dat \ + $(LOCAL_PATH)/wifi/hostapd.accept:system/etc/hostapd/hostapd.accept \ + $(LOCAL_PATH)/wifi/hostapd.deny:system/etc/hostapd/hostapd.deny \ + $(LOCAL_PATH)/wifi/hostapd_default.conf:system/etc/hostapd/hostapd_default.conf \ $(LOCAL_PATH)/wifi/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \ $(LOCAL_PATH)/wifi/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf \ $(LOCAL_PATH)/wifi/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/firmware/wlan/prima/WCNSS_qcom_cfg.ini \ diff --git a/wifi/hostapd.accept b/wifi/hostapd.accept new file mode 100644 index 0000000..923eab6 --- /dev/null +++ b/wifi/hostapd.accept @@ -0,0 +1,3 @@ +# List of MAC addresses that are allowed to authenticate (IEEE 802.11) +# with the AP. Optional VLAN ID can be assigned for clients based on the +# MAC address if dynamic VLANs (hostapd.conf dynamic_vlan option) are used. diff --git a/wifi/hostapd.deny b/wifi/hostapd.deny new file mode 100644 index 0000000..e4b6c09 --- /dev/null +++ b/wifi/hostapd.deny @@ -0,0 +1,2 @@ +# List of MAC addresses that are not allowed to authenticate (IEEE 802.11) +# with the AP. diff --git a/wifi/hostapd_default.conf b/wifi/hostapd_default.conf index 71503ac..915ceff 100644 --- a/wifi/hostapd_default.conf +++ b/wifi/hostapd_default.conf @@ -88,7 +88,7 @@ ssid=QualcommSoftAP # country_code setting must be configured with the correct country for # IEEE 802.11d functions. # (default: 0 = disabled) -ieee80211d=1 +#ieee80211d=1 # Operation mode (a = IEEE 802.11a, b = IEEE 802.11b, g = IEEE 802.11g, # n = IEEE 802.11n, g_only = IEEE 802.11g_only, n_only = IEEE 802.11n_only,