diff options
author | Yu Jun <yujun@marvell.com> | 2015-12-01 01:36:21 -0800 |
---|---|---|
committer | Mohammed Habibulla <moch@google.com> | 2015-12-03 11:39:36 -0800 |
commit | d1a3f7041692bb2b5559dd2398fafab636a5bf94 (patch) | |
tree | 11fb6737b3df00a971d8ea302ded0e0253fcade0 | |
parent | a7c2a0c4122c83e367b8de7066c9b6833c7b4439 (diff) | |
download | pxa-v3.14-d1a3f7041692bb2b5559dd2398fafab636a5bf94.tar.gz |
Fixed the wifi performance issue
1) To pass the wifi calibration data to wifi driver
2) Added the wifi driver error handling for de-association
BUG=25731975
Change-Id: I2b72bc92f969b0abf155eb78a0de2de2a21e9528
4 files changed, 9 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/pxa1908-board-common.dtsi b/arch/arm64/boot/dts/pxa1908-board-common.dtsi index 3722438b539..588d5d7be52 100644 --- a/arch/arm64/boot/dts/pxa1908-board-common.dtsi +++ b/arch/arm64/boot/dts/pxa1908-board-common.dtsi @@ -1232,6 +1232,8 @@ drvdbg = <0x80007>; dev_cap_mask = <0xffffcfff>; init_cfg = "mrvl/wifi_init_cfg.conf"; + txpwrlimit_cfg = "mrvl/txpwrlimit_cfg.bin"; + cal_data_cfg = "mrvl/WlanCalData_ext.conf"; reg_alpha2 = "US"; p2p_enh = <1>; }; diff --git a/drivers/marvell/sd8777/wlan_src/Makefile b/drivers/marvell/sd8777/wlan_src/Makefile index 26a966cb49d..5dbdec7fa91 100755 --- a/drivers/marvell/sd8777/wlan_src/Makefile +++ b/drivers/marvell/sd8777/wlan_src/Makefile @@ -77,13 +77,13 @@ CONFIG_DFS_TESTING_SUPPORT=y -CONFIG_ANDROID_KERNEL=n +CONFIG_ANDROID_KERNEL=y # Use static link for app build export CONFIG_STATIC_LINK=y #32bit app over 64bit kernel support -CONFIG_USERSPACE_32BIT_OVER_KERNEL_64BIT=y +CONFIG_USERSPACE_32BIT_OVER_KERNEL_64BIT=n ############################################################################# # Select Platform Tools diff --git a/drivers/marvell/sd8777/wlan_src/mlinux/moal_main.c b/drivers/marvell/sd8777/wlan_src/mlinux/moal_main.c index 0d15485c0d9..e8862f7898b 100755 --- a/drivers/marvell/sd8777/wlan_src/mlinux/moal_main.c +++ b/drivers/marvell/sd8777/wlan_src/mlinux/moal_main.c @@ -1750,6 +1750,7 @@ woal_set_user_init_data(moal_handle *handle, int type) } } } else if (type == TXPWRLIMIT_CFG_DATA) { + PRINTM(MMSG, "************ txpwrlimit_cfg: %s **********\n", txpwrlimit_cfg); if (req_fw_nowait) { #if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 32) if ((request_firmware_nowait @@ -2017,6 +2018,8 @@ woal_init_fw_dpc(moal_handle *handle) /** Cal data request */ memset(¶m, 0, sizeof(mlan_init_param)); + + PRINTM(MMSG, "************ cal_data_cfg: %s **********\n", cal_data_cfg); if (cal_data_cfg && strncmp(cal_data_cfg, "none", strlen("none"))) { if (req_fw_nowait) { #if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 32) diff --git a/drivers/marvell/sd8777/wlan_src/mlinux/moal_sta_cfg80211.c b/drivers/marvell/sd8777/wlan_src/mlinux/moal_sta_cfg80211.c index 7e892a0d0d3..edde7a4deb0 100755 --- a/drivers/marvell/sd8777/wlan_src/mlinux/moal_sta_cfg80211.c +++ b/drivers/marvell/sd8777/wlan_src/mlinux/moal_sta_cfg80211.c @@ -725,6 +725,8 @@ woal_cfg80211_assoc_ies_cfg(moal_private *priv, t_u8 *ie, int ie_len, } PRINTM(MIOCTL, "Set RSN IE\n"); break; + case EXT_CAPABILITY: + break; case VENDOR_SPECIFIC_221: pvendor_ie = (IEEEtypes_VendorSpecific_t *)pcurrent_ptr; if (!memcmp |