Allow SSR during driver resume. Assume firmware goes down during driver
is in suspend state. Avoid get into bad state and wmi access during driver
resume.
Change-Id: Ie1689e0b080f940666fbbb19c9f0e3b0fecfe564
CRs-Fixed: 2412130
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pGranted to be compliant.
Change-Id: Iccc58b730e381928b510a35c4d40addd1960201d
CRs-Fixed: 2412968
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 tSirWifiInterfaceInfo typedef
does not meet any of those criteria, so replace it (and the "tp"
variant) with a properly named struct.
Change-Id: Id3f2f5e9dc07faccd582c16919103ca2da2b2b92
CRs-Fixed: 2412967
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pContext to be compliant.
Change-Id: I1fe6d309d9b29703ca9f643cc0a8200fc4964fc2
CRs-Fixed: 2412966
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier sapContext to be compliant.
Change-Id: I77c66a27c423941285ddd52cfd642d8be67415fe
CRs-Fixed: 2412965
The wlan_hdd_cfg80211_extscan_callback() prototype is currently in
wlan_hdd_cfg80211.h, and uses different parameter names than the
implementation. Since the implementation is in wlan_hdd_ext_scan.c,
move the prototype to wlan_hdd_ext_scan.h, and exactly match the
implementation function signature.
Change-Id: Id3bd25f1ef885989b970a08a1e0f9540313c8032
CRs-Fixed: 2412964
Currently both functions hdd_get_adapter_by_sme_session_id() and
hdd_get_adapter_by_vdev() have the same functionality. Since
hdd_get_adapter_by_vdev() uses current terminology, replace all
instances of hdd_get_adapter_by_sme_session_id().
Change-Id: Id94604ae744ec03faa41600db4fc618ff99989b1
CRs-Fixed: 2412963
BOOLEAN is native c type so external range validation is not needed.
Cleanup references to cfg_in_range(), cfg_min and cfg_max for
BOOLEAN items
Change-Id: I4a60d1bbd12ad3cce00b33c551b3927b2f01f638
CRs-Fixed: 2359500
Currently, while handling roam sync event
wma_roam_synch_event_handler invokes wlan_vdev_mlme_sm_deliver_evt
with extracted synch event as an argument. Driver assumes extracted
synch event as event buffer and try to get sync event again. which
results assert in host while roaming.
wma_roam_synch_event_handler should pass roam sync event and its
lenght as arguments which is coming through WMI_ROAM_SYNCH_EVENTID
to wlan_vdev_mlme_sm_deliver_evt to send EV_ROAM.
Fix is to pass proper argument to wlan_vdev_mlme_sm_deliver_evt
in order to resolve this assert.
Change-Id: I37f03a19e45189e61a5b86f714048816af7f5e5f
CRs-Fixed: 2412552
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pCfg to be compliant.
Change-Id: Iec8ee088f10dad03183a9c126ea7980364bc3d4f
CRs-Fixed: 2412718
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pDelStaParams to be
compliant.
Change-Id: I64a86d62ce5477436c419dd827f7b836f93fe4b5
CRs-Fixed: 2412717
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 tSap_Event typedef does not
meet any of those criteria, so replace it (and the "tp" variant) with
a reference to the underlying struct.
Further note the Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so in conjunction rename the underlying
struct to be in compliance.
Change-Id: I523f8642ef81b3e35b2bb7a2801f3b734b2f5865
CRs-Fixed: 2412716
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 tSmeConfigParams typedef does
not meet any of those criteria, so replace it (and the "tp" variant)
with a reference to the underlying struct.
Further note the Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so in conjunction rename the underlying
struct to be in compliance.
Change-Id: I926cf67d87398782049bf9acbcd06f806a7cec29
CRs-Fixed: 2412715
The rrmConfig struct inside tSmeConfigParams is written by
sme_get_config_param() but is otherwise never accessed. Since
this is unused, remove it.
Change-Id: Ia173b20e69506f62e80baf239e889026595ba579
CRs-Fixed: 2412714
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pTspec to be compliant.
Change-Id: I977162fecb0fd0c3a3e48cfa38df3414b0601ad1
CRs-Fixed: 2412188
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pSapEvent to be
compliant.
Change-Id: I42ba4a27bbc7c4f9d9b33cd0d8d2c3b54d46b90e
CRs-Fixed: 2412187
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pStaInfo to be compliant.
Change-Id: I35996f61c181b6a92db21666d52118b8be27fc30
CRs-Fixed: 2412186
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pIe to be compliant.
Change-Id: I1edb2b7811f752bae5e3c782abc5551ad09d0605
CRs-Fixed: 2412185
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pSapEventCallback to be
compliant.
Change-Id: Ic95d516c114494c27acbd647c98a29b77be90b5a
CRs-Fixed: 2412184
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pConfig to be compliant.
Change-Id: I8ef0f3e1746d95dc4d7367dba76239110bfc4a36
CRs-Fixed: 2412183
The Linux Coding Style frowns upon mixed-case names so rename variable
smeConfig in hdd_set_sme_config() to be compliant.
Change-Id: Ib4c6382a6d753def5124c5a728b0f6805dc35e28
CRs-Fixed: 2412182
With I10ec42749ebcd2ddea23f7f3a94d862124df156d, wlan_cfg80211_get_bss
is added and has same functionality as hdd_cfg80211_get_bss.
So use wlan_cfg80211_get_bss instead of hdd_cfg80211_get_bss.
Change-Id: I1445c62fcec2f6dec33433c06ae6169c3eef1fac
CRs-Fixed: 2412288
When cfg80211_get_bss return bss entry it take a ref count and its
responsibility of the caller to free it.
So Decrement ref count of the bss once used in
wlan_hdd_cfg80211_update_bss_list.
Change-Id: I8457391e437558c15a4c3a9573591eef45d99e2c
CRs-Fixed: 2412267
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier staDesc to be compliant.
Change-Id: I0e052f50f74089708e5056c5e31c8f0143245aa4
CRs-Fixed: 2411670
In SAP mode apps should wake up to handle the client kick out event
from fw and delete the remote peer such that remote peer is not hanging
in partial connected state when apps is in power save mode. Mark client
kick out event as wake event in SAP mode such that apps can wake up and
properly disconnect the kicked out remote client.
Change-Id: I9e2e56820be0bed8019d2fb810a12a129deadd37
CRs-Fixed: 2410124
In p2p go mode the peer type in wlan peer common object is always
set to P2P_CLI. This leads to non-cancellation of NoA after connecting
to legacy stations. Correct the peer type for legacy stations.
Change-Id: Ib706f9a80d0ad367e27fd21eca6cf026cba63f57
CRs-Fixed: 2406127
To align with the Linux coding standard as enforced by the checkpatch
script, remove the extern keyword from htt prototypes.
Change-Id: I8a935de8d3cb5ea65ee81d5ba770f6e51608cba9
CRs-Fixed: 2411810
To align with the Linux coding standard as enforced by the checkpatch
script, remove the extern keyword from the legacy TX wrapper
prototypes.
Change-Id: I049094919330b6c612eede5e7835046bd601f7de
CRs-Fixed: 2411809
In order to move away from legacy interfaces replace tx_time_get()
with the underlying QDF function.
Change-Id: I5387acb6c8574623d9b49ad4d9481f4bd6ed521b
CRs-Fixed: 2411808
To align with the Linux coding standard as enforced by the checkpatch
script, remove the extern keyword from lim prototypes.
Change-Id: I3a1dd44c6c397af854138832d055a8707fe8f6ec
CRs-Fixed: 2411807
There are currently a multitude of issues with sys_process_mmh_msg()
so update both the interface and the implementation to align with good
software engineering practices and the Linux Coding Style.
Change-Id: I76e53772dd72426cc4245756457e2a8140937571
CRs-Fixed: 2411714
To align with the Linux coding standard as enforced by the checkpatch
script, remove the extern from the wma_send_regdomain_info_to_fw()
prototype. Furthermore, to align with software engineering best
practices, relocate the documentation so that it is the interface that
is documented, not the implementation.
Change-Id: Ie1993d3132517fac993b4c5556fe82c6bfbfe016
CRs-Fixed: 2411713