Add new feature flag for nbuff replenish timer apis to
replace CONFIG_MCL flag.
Change-Id: Ibb65dd28b657085a20b6e3b036e6f96b4851481e
CRs-Fixed: 2421564
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The tSirWifiIfaceStat typedef does
not meet any of those criteria, so replace it (and the "tp" variant)
with a properly named struct.
Change-Id: I70f0e8c038d061cb201b52ce07097c68bcb93346
CRs-Fixed: 2428989
In USB devices even if the driver returns an error from bus_suspend,
still the kernel/platform goes into suspend as any error from USB
bus_suspend is ignored.
During suspend, if WoW or suspend was NACked by FW, we should not
send WMI_WOW_HOSTWAKEUP_FROM_SLEEP_CMDID, WMI_PDEV_RESUME_CMDID to disable
WoW or resume device (in the next system resume)
Add new PMO API to get target suspend state and use it to check if
device should be resumed.
Change-Id: Ic6be05f4f2d36ffe174774b6cd55c6da6b1ea1b8
CRs-Fixed: 2421591
Currently, RSN IE is added to additional IE. Driver does not
generate additional IE .
This reverts commit I2a67156e66e255e7c007a5925cd81b859009114e.
Change-Id: I341897374736483742fa34585e2e8849d4a8a891
CRs-Fixed: 2427098
Driver uses cipher stored in vdev to get the MIC length, which
may get updated if multiple peer(TDLS peer in STA case) get
connected to the vdev. Thus depending on latest peer cipher type
the MIC length will be calculated for all peers.
To fix store cipher info in peer and use it to calculate MIC length
for the frame.
Change-Id: I8afbf9a3bb43c294dbacbbaa7fa0746600937d11
CRs-Fixed: 2428482
Scan on channels triggered as part of active mode RRM
beacon report request fails on receiving roaming
indication from firmware due to get_session_id_from_bssid
failure. So current req in RRM PE context will not be freed
and as a result all subsequent beacon report requests will
fail.
Fix is to free current req in RRM PE context on scan
req failure due to STA roaming to a different AP.
Change-Id: Ib911ddcc7538bb5f3711647bb83a1978d1a1af73
CRs-Fixed: 2419044
The Linux Coding Style frowns upon mixed-case names so rename
csrConfig in struct sme_config_params to be in compliance.
Change-Id: I451d728c79608041effed09adb199a357c97c0b5
CRs-Fixed: 2428992
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The tCsrConfigParam typedef does
not meet any of those criteria, so replace it with a reference to the
underlying struct.
Further note the Linux Coding Style frowns upon mixed-case names so in
conjunction rename the underlying struct to be in compliance.
Change-Id: If6f07ced0a8f92ddf06bc40a042efd6584df147b
CRs-Fixed: 2428991
As a result of TDLS componentization the following SME TDLS typedefs
are no longer used, so remove them:
- tSmeTdlsPeerCapParams
- eSmeTdlsPeerState
- tSmeTdlsPeerStateParams
- sme_tdls_chan_switch_params
Change-Id: I6e857aedcbfe7c422425076aeac8c9b882be7513
CRs-Fixed: 2428990
When CRYPTO_SET_KEY_CONVERGED enabled, the set bss key
will use tSetBssKeyParams in wma_send_set_key_rsp.
Change-Id: Ief0c822c637ac06dc241a682c060f19bb946fea2
CRs-Fixed: 2402889
When WLAN_CONV_CRYPTO_IE_SUPPORT enabled, pmkid should be
saved to crypto component by crypto API. Otherwsie RSN ie
construction will have no pmkid info to add to rsn ie buf.
Change-Id: I8643aca794dcb42323d3d051e7a15a0597167ed6
CRs-Fixed: 2402775
In function os_if_nan_legacy_req(), if qdf_mem_malloc() call return NULL,
this will result in nan_req NULL pointer dereference.
Fix is to add NULL pointer check for nan_req before using.
Change-Id: I8ce9e9f9fa556606cf5e8d389905c39ff7198f2c
CRs-Fixed: 2423772
If no channel is safe in ACS channel list, select default channel
instead of returning start failure for SAP.
Change-Id: I974a573f5000720a62e58aaff5a71412c2fae7bf
CRs-Fixed: 2424847
When scheduler thread is suspended, it will not process
any messages until it is resumed. If messages are posted
to scheduler thread when it is suspended, it will lead
to KP due to scheduler buffer becoming full.
Add check for hdd_ctx->hdd_wlan_suspended in __hdd_tx_timeout
before posting any message to scheduler.
Change-Id: Ic0bc6ec0dda23e2a6eaf59adb21f0bca5f2707df
CRs-Fixed: 2428339
Remove unused members from wma_txrx_node,
t_wma_handle structures and related code.
Change-Id: Ia5b290e3367a894646f138cfeedcb9ab3012e9be
CRs-Fixed: 2412738
Currently HDD is populating SAP configuration values and
sending it down to SAP module instead use the respective
MLME CFG public API's to get the configuration values.
Move following CFG values:
1. sap_chanswitch_beacon_cnt
2. sap_chanswitch_mode
3. protEnabled
4. chan_switch_hostapd_rate_enabled
5. tx_leakage_threshold
6. ht_capab
7. UapsdEnable
8. obssProtEnabled
Change-Id: Id62492d5374b9a3f8ab9cbf57e474cc9f78a791d
CRs-Fixed: 2411126
Avoid allocating and initializing memory for rx threads when
in monitor mode as they are not used.
Change-Id: I7521697e3f7033e85fad0b416d8a34aab28755d5
CRs-Fixed: 2424812
The Linux Coding Style frowns upon mixed-case names so
wlan_hdd_cfg80211_link_layer_stats_ext_callback() variable
linkLayer_stats_results is not compliant. But rather than
rename it, just remove it, since its use does not really
improve the code.
Change-Id: I5f8c6e5473d64d03662e664a474ad4293ca7310d
CRs-Fixed: 2427185
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier vdevId to be compliant.
Change-Id: Ia1328dec457b3bcacdeb53df87684469e8b875fc
CRs-Fixed: 2427184
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier numInterfaces to be compliant.
Change-Id: Ie2cb20a4446b02ef1c4724f4cdecc90c6aba7b82
CRs-Fixed: 2427183
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier deviceMode to be compliant.
Change-Id: I24c3ffc1c477eb65ebb04ea1434d1902b1fec343
CRs-Fixed: 2427182
The Linux Coding Style frowns upon mixed-case names so variable staMac
in hdd_get_interface_info() is not compliant. But rather than rename
it, just remove it, since its use does not really improve the code.
Change-Id: If4db592fe2b7728d7c03c1415c9d9e8aeb7c1cf2
CRs-Fixed: 2427181
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pInfo to be compliant.
Change-Id: I4c3a95d2356023872e8d868c6f6d8e8607312329
CRs-Fixed: 2427180
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pData to be compliant.
Change-Id: Ibcbc03bbe11033f4a44728603d9184f5b188db18
CRs-Fixed: 2427179
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pWifiRadioStat to be
compliant.
Change-Id: I2728a0e2a4244caf70aa96fce291df3d7eef681b
CRs-Fixed: 2427178
The Linux Coding Style frowns upon so-called Hungarian notation so
rename HDD identifier padapter to be compliant.
Change-Id: I5fcc20ea16f088b4ec0001425b069a14ecf9c4d8
CRs-Fixed: 2427177
The Linux Coding Style frowns upon so-called Hungarian notation so
rename HDD identifier phddctx to be compliant.
Change-Id: I36541226f54efd2421772cebc233566f16ed8039
CRs-Fixed: 2427176
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The tSirWifiRadio typedef does not
meet any of those criteria, so replace it with uint32_t.
Change-Id: I5f733f4a4aa07803c3719108169e6aeb98293c5e
CRs-Fixed: 2427175
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The tSirWifiRadioStat typedef does
not meet any of those criteria, so replace it (and the "tp" variant)
with a properly named struct.
In addition the Linux Coding Style frowns upon mixed-case names so
rename the members which are currently not compliant.
Also remove the obsolete tx_time_per_tpc array since it is unused.
Change-Id: I40aa287e01dc8d12ba803858cc54e79a6fccb8c9
CRs-Fixed: 2427174
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The tSirWifiChannelStats typedef
does not meet any of those criteria, so replace it (and the "tp"
variant) with a properly named struct.
In addition the Linux Coding Style frowns upon mixed-case names so
rename the members which are currently not compliant.
Change-Id: I45562da6441fec1af35483d390057a2693e5d02a
CRs-Fixed: 2427173
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The tSirWifiRate typedef does not
meet any of those criteria, so replace it (and the "tp" variant) with
a properly named struct.
In addition the Linux Coding Style frowns upon mixed-case names so
rename the rateMcsIdx member to make it compliant.
Change-Id: I719c9c563f5b382b0734be086bee4e5e89fe85aa
CRs-Fixed: 2427172
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The tSirWifiChannelInfo typedef
does not meet any of those criteria, so replace it (and the "tp"
variant) with a properly named struct.
In addition the Linux Coding Style frowns upon mixed-case names so
rename the members which are currently not compliant.
Change-Id: I2c0647cc48d0ed805974dd9ea399ca742aabc17f
CRs-Fixed: 2427171