changes:
1. WSW-18043: Include txpwrlimit_cfg_iw416 files on MM driver
2. WSW-18325: Rename ed_mac_ctrl conf files from V3 to V2
3. WSW-16931: Observing timeout on STAUT with UL OFDMA BSR scenario
4. WCSWREL-227: Fixed the issue of CtsWifiTestCases case android.net.wifi.cts.WifiManagerTest#testTrafficStateCallback
5. WSW-17727: Fixed the issue of STA Connection failed with dmcs enable and host_mlme=1
6. WSW-17450: Fixed the issue of android.net.wifi.cts.WifiManagerTest failure
7. WSW-17491: Fixed the issue of android.cts.statsdatom.wifi.WifiStatsTests failure
8. WSW-18006: Set CAC period of 600 sec for weather channel for ETSI region
9. WSW-17906: Fixed the issue of APUT not advertise the support of MCS32
10. WSW-17575: Fixed the issue of Host cannot wake-up by ping during Hostsleep
11. WSW-17904: Fixed the issue of STAUT advertising VHT Tx/Rx MCS as 1SS when associating with 1SS AP
12. WSW-17427: Fixed the issue of uAPUTL failing to start BSS and returns "Core Dumped" error message
13. WSW-15856: Hotspot is turning off automatically after few minutes ~10mins with one client connected
14. WCSWREL-211: System reboot when switch wifi hotspot security mode from WPA2 to none
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Approved-by: Tian Yang <yang.tian@nxp.com>
Added missing ed_mac conf file for 8978 and also removed ed_mac conf
file of 9177 and 909x which is not a supported SoC on IMX under
MassMarket.
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Approved-by: Tian Yang <yang.tian@nxp.com>
changes:
1. WCSWREL-199: Fixed the build error on kernel higher than L5.12
2. WSW-16639: Improve the throughput by avoiding skb copy in amsdu deaggreation
3. WSW-15903: By default enabled pmqos=1 module param on IMX8 only and disable this for other platforms like X86
4. WSFD-411: Generate fw_dump files in HAL layer instead of driver
5. WSW-17154: Fixed the issue of driver crash seen with AGO+AGO restart stress test
6. WSFD-416: Added WPA3 R3 support using embedded supplicant
7. WSW-16171: Fixed the issue of DUT failed to roam to other AP2, when low RSSI hits on connected AP1
8. WSW-17323: Fixed the issue of not activating Channel 13 using DE or JP country codes
9. WSW-16630: APUT is not switching back from 20/40MHz to 20MHz channel bandwidth in the presence of 20MHz testbed AP
10. WCECCB-37: Added support for UNII-4 / upper 5 GHz channels
11. WSW-17368: Fixed the issue of System shutdown after switching AC power to battery
12. WSW-17447: Added RTT support enablement for Android
13. WSW-17453: Fixed the issue of 0x107 Command timeout for scan(iwlist)
14. WSW-17019: Fixed the issue of Wifi hang with timeout cmd id 0x20 due to interference from another device doing DPD
15. WSW-14: Added Support for IMX Linux Kernel 5.15.0
16. WSW-17450: Disable host based Link layer stats so that fw based stats will be used
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Approved-by: Tian Yang <yang.tian@nxp.com>
When we build mxmwifi from other folders, like AOSP kernel
build repo to collect symbols used by imx drivers,
it will meet below build error:
make -C common M=/home/ssd-2/jindong/android/gki-imx ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- modules
make[1]: *** common: No such file or directory. Stop.
Use KERNEL_SRC to hold kernel directory, which can be passed
from AOSP kernel build repo.
Add a new target modules_install.
Change-Id: I344b0984317ae477b6961ab05eb73bf0a6c97e50
Signed-off-by: Jindong Yue <jindong.yue@nxp.com>
changes:
1. Enabled pmqos by default for IMX platforms
2. WCSWREL-186: Merged a fix to avoid mlanutl tool to fail on kernel higher than L5.15
3. Fixed kernel crash dump warning message when invoking pm_qos_add_request
or pm_qos_remove_request APIs in case of dual MAC SoC like Skyhawk
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
The parameters in cfg80211_unregister_netdevice function is wrong, will
cause the build error on kernel higher than L5.12.
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Approved-by: Tian Yang <yang.tian@nxp.com>
ndo_siocdevprivate should use woal_uap_do_ioctl instead of woal_do_ioctl
in woal_uap_netdev_ops struct.
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Approved-by: Tian Yang <yang.tian@nxp.com>
changes:
1. WCSWREL-191: Fixed the error when loading module param from user config for SD8801
2. WCSWREL-186: Fixed the issue of mlanutl failing on kernel higher than L5.15
3. Fixed low throughput issue for WPA3 SAE
4. Added driver change for WLAN throughput improvement on 8997 SoC
5. Updated README to recommend not to use WEP/TKIP for all chipsets
6. WCSWREL-180: Fix P2P test fail on kernel higher than L5.12
7. WCSWREL-156: kernel_write/kernel_read not allowed by drivers for L5.10 kernel GKI buildou
8. Alternative for pm_qos_add_request/pm_qos_remove_request
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Approved-by: Tian Yang <yang.tian@nxp.com>
When use mlanutl on L5.15, will meet below error logs:
root@imx8mqevk:/usr/share/nxp_wireless# ./mlanutl mlan0 hssetpara 2 0xff 0xc8 3 400
mlanutl: Operation not supported
mlanutl: hssetpara fail
This is due to the net common api change the ndo_do_ioctl behavior, it
splits out all the users of SIOCDEVPRIVATE ioctls into a separate
ndo_siocdevprivate callback. All the ioctl functions through
SIOCDEVPRIVATE in mlanutl.c will fail if not follow this upstream api
change. So here change to use new ndo_siocdevprivate instead of
ndo_do_ioctl on L5.15.
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Approved-by: Tian Yang <yang.tian@nxp.com>
changes:
1. Remove unsupported commands and info from README_MLAN.
2. Improved the 8997 SDIO TCP Tx throughput.
3. 0x10c Command Timeout during p2p_connect
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
P2P test will fail(deadlock) on kernel higher than L5.12,
error log like below:
root@imx8mmevk:~# wpa_cli -i p2p0 p2p_group_add freq=2412
[ 47.284346] Add virtual interface p2p-p2p0-0
'P2P_GROUP_ADD freq=2412' command timed out.
This is because the upgarded kernel change the netdevs
registration/unregistration semantics, new kernel require the drivers
to call cfg80211_(un)register_netdevice() when this is happening due to
a cfg80211 request.
For more details, please refer to the upstream patch:
https://lore.kernel.org/linux-wireless/20210122161942.cf2f4b65e4e9.Ida8234e50da13eb675b557bac52a713ad4eddf71@changeid/
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Approved-by: Tian Yang <yang.tian@nxp.com>
For the wifi release 17266, we found SDIO8987 and PCIE8997 both may meet
below error logs when run suspend stress test.
"HS not actived, suspend fail!"
For pcie8997 on imx8mp, this may cause system hang. For sdio8987 and
pcie8997 on other platforms, this may cause suspend fail sometimes.
This patch is a workaround for this issue. WCS team still debugging this
issue.
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Approved-by: Tian Yang <yang.tian@nxp.com>
Add build config item to control if debug APIs in mxmwifi driver
is enabled or not.
Default disable Debug APIs as GKI build disallow drivers read
and write to the filesystem directly.
Change-Id: I9f111e5a435ea95409a00bf344d62b3450e48895
Signed-off-by: yang.tian <yang.tian@nxp.com>
changes:
1. WCSWREL-126: Fixed PCIE9098 suspend fail on imx8mq.
2. WCSWREL-87: Hostsleep fails as DUT doesnot wake up on traffic/pattern.
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Approved-by: Tian Yang <yang.tian@nxp.com>
changes:
1. Fixed Mu-MIMO not working issue.
2. Added a workaround for suspend-resume failure to block suspend when
WLAN is in connected state.
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Reviewed-by: yang.tian <yang.tian@nxp.com>
changes:
1. Fixed compilation errors for 5.12 kernel.
2. Fixed an issue with suspend/resume for PCIE9098 with 5.10.9 kernel.
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Reviewed-by: yang.tian <yang.tian@nxp.com>
meet below build error log:
/home/sherry/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_pcie.c: In function ‘woal_request_pmqos_busfreq_high’:
/home/sherry/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:143:31: error: ‘woal_pcie_pm_qos_req’ undeclared (first use in this function)
143 | cpu_latency_qos_add_request(&woal_pcie_pm_qos_req, 0);
| ^~~~~~~~~~~~~~~~~~~~
/home/sherry/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:143:31: note: each undeclared identifier is reported only once for each function it appears in
/home/sherry/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_pcie.c: In function ‘woal_release_pmqos_busfreq_high’:
/home/sherry/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:171:34: error: ‘woal_pcie_pm_qos_req’ undeclared (first use in this function)
171 | cpu_latency_qos_remove_request(&woal_pcie_pm_qos_req);
| ^~~~~~~~~~~~~~~~~~~~
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Reviewed-by: yang.tian <yang.tian@nxp.com>
changes:
1. Added support for PCIE-UART W9098 SoC
2. Added support for SDIO-UART W8997 SoC
3. Added a new RF Test Mode command
4. Added txratecfg and 11axcfg related commands to mlanutl light to
support pre-cert testing
5. Added cpu_latency_qos_add/remove_request calls for L5.10 for better
CPU performance during throughput tests
6. Added fixes for MBO Pre-Cert failure
7. Fixed Copyright header start date, end date
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Reviewed-by: yang.tian <yang.tian@nxp.com>
"mgmt_subtype_mask" is not updated with the supplicant provided
mask in the "mgmt_frame_register" handler.
cfg80211 handler "mgmt_frame_register" is updated from the kernel
version 5.8 onwards. mgmt_subtype_mask is not updated in the 5.8
specific path.
Updating mgmt_subtype_mask with required mask from supplicant
in the 5.8 kernel specific hanlder path.
Test: Wifi Direct work as GO or GC.
Change-Id: I457e1b44ec0b9f3481b5ccc81ccaa6a9e67b741b
Signed-off-by: yang.tian <yang.tian@nxp.com>
Add mxmwifi.mk to build nxp wifi driver out of kernel
tree with clang.
Remove GCC ccflag options to build wifi driver.
Change-Id: Ie9a2550a2a626daa069e7edb305080c91ef71bfa
Signed-off-by: yang.tian <yang.tian@nxp.com>
changes:
1. Added support for IMX Linux Kernel version 5.10
2. LF 5.10 need to be build out of tree
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Reviewed-by: yang.tian <yang.tian@nxp.com>
Use GCC10.2, there has build error as below log:
mlan2040misc.o:(.bss+0x0): multiple definition of `leg_ap_chan_list'; mlan2040coex.o:(.bss+0x0): first defined here
mlan2040misc.o:(.bss+0x64): multiple definition of `num_leg_ap_chan'; mlan2040coex.o:(.bss+0x64): first defined here
Fix the build error.
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
The MxM wifi driver is merged from below repo and applied some
patches for block and build issues.
ssh://git@bitbucket.sw.nxp.com/wcswrel/
rel-nxp-wifi-fp92-bt-fp85-linux-android-mxm4x17169-mgpl.git
The commit is to update the license to GPL v2.
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Add initial MxM (multi-chip-multi-interface) wifi driver.
The driver target is to support 88w8987/88w8997/88w9098,
currently it only supports 88w8987.
The MxM wifi driver is merged from below repo and applied some
patches for block and build issues.
ssh://git@bitbucket.sw.nxp.com/wcswrel/
rel-nxp-wifi-fp92-bt-fp85-linux-android-mxm4x17169-gpl.git
The sdk only includes application, the driver already is
merged into linux kernel.
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>