Commit graph

15 commits

Author SHA1 Message Date
Hsiu-Chang Chen
515504beba Enable WIFI_FEATURE_HOSTAPD_11AX
In the past, the WIFI_FEATURE_HOSTAPD_11AX flag was ineffective.
Because hostapd takes the value of CONFIG_IEEE80211AX to enable
11ax mode on hotspot, the unset flag WIFI_FEATURE_HOSTAPD_11AX
went unnoticed.

However, after wpa_supplicant migrated from Android.mk to Android.bp,
it correctly evaluates WIFI_FEATURE_HOSTAPD_11AX to determine 11ax hotspot support. We need to set WIFI_FEATURE_HOSTAPD_11AX as true to
re-enable the 11ax mode on hotspot.

Bug: 389824755
Test: Hotspot is enabled in 11ax mode
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:4dd8c64713f9f004c2678e2a65f815e994dfcb12)
Merged-In: I635575b77a5f149605eaeb22046fbabe71955952
Change-Id: I635575b77a5f149605eaeb22046fbabe71955952
2025-01-15 07:16:47 -08:00
Bill Yang
12dd9e39f2 Use full namespace path for BOARD_WPA_SUPPLICANT_PRIVATE_LIB
There are several different version lib_driver_cmd_qcwcn control by
different soong_namespace and it will be used as static lib of hostapd
and wpa_supplicant and due to these wlan modules are in global namespace
and in order to read static lib from other namespace, will need to set
full namespace path instead.

Bug: 359745733
Test: lunch lynx-trunk_staging-userdebug; \
      m hostapd_cli hostapd libhostapd_aidl wpa_cli wpa_supplicant \
        wpa_supplicant_macsec libwpa_client libwpa_aidl libpasn
Flag: EXEMPT refactor
Change-Id: I747026b7ac5711ed0d450edf79e1fa24da9ac3b6
2024-11-05 19:51:22 +00:00
Hsiu-Chang Chen
57ade0e64c wifi: Update p2p overlay config
Align the p2p overlay config with other projects

Bug: 273897565
Test: P2P enables on 5GHz channel when DUT connected to 2.4GHz
Change-Id: I4e4dac3b1f2fa907dc7e57408f3744086a126860
2023-09-18 03:09:39 +00:00
Hsiu-Chang Chen
36494e4c4d wifi: convert WIFI_FEATURE_IMU_DETECTION to the equivalent soong variable
Bug: 287607876
Test: SAR scenario is set properly with motion sensor status
Change-Id: I4d0169f08a8aca4f516b775c63d36457c4ab96e2
2023-07-10 09:09:29 +00:00
Jooyung Han
b97e826b28 Add BOARD_WLAN_CHIP to soong config
wcn6740 uses a new implementation for libwifi-hal-qcom. We need a soong
config variable for BOARD_WLAN_CHIP to switch the implementation.

Bug: 273376293
Test: m libwifi-hal (with gs201 target)
Merged-In: Iddeb4e76be213fde2d1bb4dbd614a1213bc35e89
Change-Id: Iddeb4e76be213fde2d1bb4dbd614a1213bc35e89
2023-04-11 04:20:42 +00:00
Hsiu-Chang Chen
d1b167f396 wifi: Add flag BOARD_WLAN_CHIP
Need a flag other than TARGET_DEVICE to identify
which WifiHal subfolder we want to use.

Bug: 246974867
Test: Build pass
Change-Id: Idf1a7af8e52a235e0491f6fb9ab09a4c37fe5713
2022-09-16 11:31:17 +08:00
Hsiu-Chang Chen
8e65c0cf8f wifi: Disable 6GHz channels on P2P
Bug: 236231546
Test: Run P2P ACTS Tests
Change-Id: I22fb7785a35425e41fafc5ffb127c9a4ab0d68e4
2022-07-19 12:52:38 +08:00
Hsiu-Chang Chen
478fe09af8 Enable PMF for WPA2-Personal Hotspot
Bug: 237958132
Change-Id: Icf5f41ca9645ac4d998c073ec0643cc56edce6f4
Test: ieee80211w=1 in the hotspot config file
2022-07-04 04:50:34 +00:00
Hsiu-Chang Chen
e31f425e0e wifi: Update interface combinations
The interface combination should be {1 STA + 1 of (P2P or NAN)} or {1 AP}
Because WCN6740 doesn't support multiple independent hardware MACs
for STA/AP concurrency

Bug: 213398641
Test: The behavior of combination. STA and AP cannot enable concurrently.
Change-Id: I1825fcd173d19cc4081af0b65f7a3e79b73bf43e
2022-01-22 05:59:45 +00:00
Greg Kaiser
e43aea3ef5 Revert "Rename supplicant RC file config variable in makefile."
Revert "Rename supplicant RC file config variable in Redbull mak..."

Revert "Rename supplicant RC file config variable in Coral makefile."

Revert submission 16623160-rename-supplicant-rc

Reason for revert: b/215524311  This is an uncommunicated, ecosystem-wide breaking change in order to rename a variable
Reverted Changes:
Id55a453d3:Rename supplicant RC file config variable in makef...
I1177d6aba:Rename supplicant RC file config variable in Sunfi...
I043c354e2:Rename supplicant RC file config variable in Redbu...
I324784add:Rename supplicant RC file config variable in Bonit...
Ibc9c5384b:Rename supplicant RC file config variable in Coral...
I5a20450a4:Rename supplicant RC file config variable in Cross...
I511597746:Rename local RC file config variable in Supplicant...

Change-Id: I46cbcea42e1f2df612fa70685f803ccabdd35f1b
2022-01-21 02:12:53 +00:00
Gabriel Biren
9fbd2799ab Rename supplicant RC file config variable in makefile.
Bug: 208265623
Test: Build in pre-submit tests.
Change-Id: Id55a453d32d6af81f225de49455206132828ea72
2022-01-19 20:56:10 +00:00
Hsiu-Chang Chen
3a33edc542 wifi: Add /dev/wlan as driver control interface for qcom
Bug: 209934729
Test: Basic functions tests, SSR tests
Change-Id: I111852ca339dff6cee680b89ae199ce6a628577d
2022-01-11 01:00:21 +00:00
Victor Hsu
05766696d6 wifi: create configuration to use qcom wifi_hal
Bug: 202481207
Test: Build pass
Change-Id: Ia787642c0e9ee45e12648b8e369a0ff62b55d20d
2021-12-14 11:10:37 +00:00
Roger Wang
197e2a096b wifi: move configuration to project specific
In this commit, I remove project specific content.
For example, I remove p2p interface property,
supplicant service definition and board configurations.

Bug: 203635329
Test: check functionality and output as follows
$ adb shell ifconfig
Output: p2p-wlan0-0 Link encap:Ethernet

$ adb shell getprop wifi.direct.interface
p2p-dev-wlan0

Log output:
wl_cfgvendor_set_hal_started, HAL version: BCMDHD vendor HAL
wpa_supplicant: Configuration file '/data/vendor/wifi/wpa/wpa_supplicant.conf' -> '/data/vendor/wifi/wpa/wpa_supplicant.conf'
wpa_supplicant: Reading configuration file '/data/vendor/wifi/wpa/wpa_supplicant.conf'
wpa_supplicant: update_config=1
wpa_supplicant: eapol_version=1
wpa_supplicant: ap_scan=1
wpa_supplicant: fast_reauth=1
wpa_supplicant: pmf=1
wpa_supplicant: p2p_add_cli_chan=1
wpa_supplicant: oce=1
wpa_supplicant: sae_pwe=2
wpa_supplicant: Reading configuration file '/vendor/etc/wifi/wpa_supplicant_overlay.conf'
wpa_supplicant: sae_pwe=2
wpa_supplicant: driver_param='use_p2p_group_interface=1p2p_device=1'
wpa_supplicant: disable_scan_offload=1
wpa_supplicant: wowlan_triggers='any'

Change-Id: If18f13e7c4c8fc13fb68e50145cc407c91d3fa60
2021-11-15 09:20:32 +00:00
Aaron Ding
bb4beafe47 Create gs201 device folder baseline
clone from gs101 sha 9d1c97c2

Bug: 183183095
Change-Id: Ie7112bdf0aceb33c9e1956aa52e961b670582733
2021-05-19 13:35:26 +08:00