In WLAN ON/OFF stress test, due to system memory fragment, it's hard
to dynamiclly allocate contiguous memory for DFS huge memory which
is greater than 64K. Normally memory allocations of order of 4 and
upwards are not recommended by memory team. So use static memory
allocation for DFS.
ROME and Hastings already changed, this change is for Geona.
Change-Id: I33aa3efd378518491f06b496344ed3034c4978d9
CRs-Fixed: 2851914
Currently, wmi_roam_scan_chan_list_id data is extracted and
processing is also done in wma. This is not inline with component
model where target_if takes care of data extraction and handover
the extracted data to corresponding component(connection mgr in
this case). Add changes to support the same.
Change-Id: I8f59f9ebfe1bbdc7ef37ccc1f10178fe8128e912
CRs-Fixed: 2990376
Currently, wmi_vdev_disconnect_event_id data is extracted and
processing is also done in wma. This is not inline with component
model where target_if takes care of data extraction and handover
the extracted data to corresponding component(connection mgr in
this case). Add changes to support the same.
Change-Id: I2486cc3f63c4b35305b60ac55cd0a622c7185323
CRs-Fixed: 2990373
Currently, wmi_roam_blacklist_event_id data is extracted and
processing is also done in wma. This is not inline with component
model where target_if takes care of data extraction and handover
the extracted data to corresponding component(connection mgr in
this case). Add changes to support the same.
Change-Id: I41d2ef6c228acd8f86f24107c02d11f1a8ac6dea
CRs-Fixed: 2990369
Set gRemoveTimeStampSyncCmd ini to 1 by default so that even for more
than 60 seconds, the device can stay in RTPM WoW mode.
Change-Id: I560389dd9c7d5a33d01c092ad057a7a7aa6f7c37
CRs-Fixed: 3003718
Currently, wmi_roam_event_id data is extracted and processing is
also done in wma. This is not inline with component model where
target_if takes care of data extraction and handover the extracted
data to corresponding component(connection mgr in this case).
Add changes to support the same. As the legacy CSR/LIM is not
yet converged, have a wrapper from connection mgr to wma to call
these legacy APIs.
Change-Id: I0e22bbccfe21200b90771a01f9ee7454f4ecb119
CRs-Fixed: 2990355
During enumeration all adapters, if adapter is not "up",
it is unnecessary to check connecting or not. Otherwise,
the vdev is not created for the adapter and the
sme_roaming_in_progress will output "ROAM: incorrect vdev ID"
error message.
Change-Id: I3df5379a7d0b88c439d49711c36000717c7a433b
CRs-Fixed: 3002674
Current it use __RET_IP to get caller in rtpm resume
function, if it print info by %ps, it will do a
symbol lookup which takes time.
Change as replacing __RET_IP with rtpm_dbgid, so it is
still able to get caller information and avoid time
cost here.
Change-Id: Ic9465fba1a8e6a6a2289303ed6994a22b393a4e4
CRs-Fixed: 3001693
In ROAM DONE event handling, policy mgr restart sap is not invoked after
updating the connection info and hw mode info thus not restarting the sap
after roam sync
To solve this, adding policy manager check after updating the policy
manager connection table.
Change-Id: Ifb8a5eecb98c05166986052ccc32422dbbe3bef7
CRs-Fixed: 2991721
In __iw_setnone_getnone api, fix the datatype from uint8_t
to qdf_freq_t for channel frequency.
Change-Id: Icc34c7e0ac2072707dae2046187c7a845cdb3a4b
CRs-Fixed: 2978017
Currently there is no provision to configure fixed rate for 11be.
Add sysfs entry to configure fixed rate for 11be.
To set 11be rate, write 1 byte value to the sysfs entry as below.
In this 1 byte, MSB 3-bits represents NSS and LSB 5-bits represents
MCS. For e.g. the below command will configure the 11be rate to MCS
7 and NSS 2.
echo 0x47 > /sys/class/net/wlan1/11be_rate
Change-Id: I96a328c0844e2fe20053a26acf1824e048a74fed
CRs-Fixed: 2999842
Currently, host driver expects NDP_END indication from firmware
within 2 seconds after sending request to firmware. Driver shall
timeout and cleanup the corresponding NDP entry if no response is
received within 2 seconds. But firmware may take upto 2.5 seconds
to exhaust the NDP_END frame retries.
So, increase the timeout to 4 seconds to accommodate these retries
and to be inline with current NAN_DISABLE timeout.
Change-Id: Ida1abc25b4ff64aea810c88dbf36f9577b23ffd8
CRs-Fixed: 3002176
Some AP has different HT ch width setting in beacon/assoc resp.
FW uses assoc response to decide the BW of HT AP in Roaming sync.
Fix by overwrite beacon HT BW setting from assoc resp frame to
keep sync with FW.
Change-Id: I784e4b1735f4f217713f65c30092bac2ad6cb698
CRs-Fixed: 2995520
In a beacon template, there is a mismatch of twt responder bit in
HE caps and extended caps.
During start BSS, there is a kernel flag related with twt
responder. Intersect this kernel flag and service bit capability
before calling twt enable/disable api in start BSS.
Change-Id: I0725fc560904c622cc47f43958bcd490daacfa2f
CRs-Fixed: 2995538
If WoW not support, not advertise wiphy_wowlan_support when
registering wiphy device. To make sure wiphy_suspend can follow
the flow of WoW not support.
Both function wlan_hdd_cfg80211_init() and hdd_wiphy_init() set
wiphy->wowlan. Change I4bbaec9ba4268099507567b4e03cee51ee1d11f7
already fixed it in function hdd_wiphy_init(). This change fixed
it in function wlan_hdd_cfg80211_init().
And, not advertise wiphy_wowlan_support even kernel version less
than 3.11.
Change-Id: Ia68d1a8bae85d9ec891b81634b9704e8500587cd
CRs-Fixed: 2989891
Mlo peer mgr needs all link info including the assoc peer information.
Provide all link info to mlo mgr.
Change-Id: If44572834cbed020cc52366d09e4e8bbb618ee2f
CRs-Fixed: 2999477
HAL_RX_DESC_GET_80211_HDR is replaced by hal_rx_desc_get_80211_hdr
api. Due to this compilation error is seen.
Fix this by using new api hal_rx_desc_get_80211_hdr instead of
HAL_RX_DESC_GET_80211_HDR.
Change-Id: I52bbae9d1a58cb13c8e6706a47e300db824251f3
CRs-Fixed: 2992548
wlan_peer_mlme_get_assoc_peer is renamed to wlan_peer_mlme_is_assoc_peer
Relace wlan_peer_mlme_get_assoc_peer with wlan_peer_mlme_is_assoc_peer
Change-Id: I2b3d98a359d2b8e4e7f3f5016be3ca7a7f3f888f
CRs-Fixed: 2999486
Remove the usage of csrPersona from csr_roam_profile
and the unused wlan_sap_get_roam_profile function.
Change-Id: Ic7621c5e178a141b7e6e9d820d71fadfbff071ed
CRs-Fixed: 2998988
In connected STA scenario, tcp_adv_win_scale is reset to 1
on runtime suspend. If any TCP connection gets initiated, the
SYN packet will cause a runtime resume. The bus bandwidth
work gets scheduled ~100msecs after resume is done. This
can result in a smaller TCP window value to get used for
the TCP connection initially and the window size does not
increase even with tcp_adv_win_scale updated to 2 as part
of bus bandwidth work.
Fix is to not reset the tcp_adv_win_scale config if any
adapter is connected on runtime suspend.
Change-Id: If10a1e1fd0efc8217f8136a60cfb01b03485a21d
CRs-Fixed: 2969041
tcp_adv_win_scale value does not get reset to the default
value by cnss daemon for WLAN_SVC_TP_LOW throughput level.
This could result in undesired behavior if the tcp param
value is used for TCP connections after disconnection or
wifi turn off.
Fix is to use the previous WLAN_SVC_TP_NONE level to
reset the tcp_adv_win_scale parameter.
Change-Id: I3d312abc2a873a7b35d8a411c60bce7832742c4b
CRs-Fixed: 2995589
from csr_roam_profile
In the SAP module, remove the usage of ch_params and
op_freq from csr_roam_profile. Instead, the SAP module
uses ch_params and chan_freq from sap_ctx.
Change-Id: I26ff00286b8e0cec33d3a63098f93d4000684df0
CRs-Fixed: 2998985
In the SAP module, remove the usage of phyMode from
csr_roam_profile. The SAP module uses phyMode from
the sap_ctx directly.
Change-Id: I6ca484901f29dfa35405dcdcb88e25cc09f498d6
CRs-Fixed: 2998982
Populate EHT PHY and MAC capabilities from target to
tDot11fIEeht_cap structure.
Change-Id: Idf0af3c78afafcd5682760cdfd23bacd3c1dff76
CRs-Fixed: 2998861
If EHT cfg is not present, there's no need to populate EHT PHY
and MAC caps to wiphy.
Change-Id: If4d002976f23d1fb847c7976cce6d2c1d5c42260
CRs-Fixed: 2998476