Ignore user regulatory hint conditionally if it does not have sub-type
NL80211_USER_REG_HINT_CELL_BASE. For mobile devices, do not accept user
configuration from other sub-types.
Change-Id: I5990e8f4a80eebb56760e0034e397529ef77eefb
CRs-Fixed: 2362693
Hostapd is expected to use country code already programmed in the driver.
Therefore, validate the country code sent by hostapd. Enable SAP 11d only
if country code from hostapd is same as driver country code.
Change-Id: I88d6603f4e696c86ffb85b798221d750f71b741b
CRs-Fixed: 2359333
In the case of SAP restart due to a RADAR, or force SCC
due to STA vdev formed, in the SAP restart path
the driver updates the SAP channel in the global
AP context, and then sends the command to change the channel
to south bound layers to process, which may reject or accept
the command.
If the command has been accepted, the channel in the
global config would be the same as the channel configured
in the restart path, but for a case where the command was rejected
by the south bound, due to a concurrency check, or other reasons
the SAP remains on the previous channel in SCC, or MCC, with the
STA interface, but the channel in the global config is same as that
given in the restart path, so the real operating channel, and the
config channel are different.
Because of this if a fresh bringup of some vdev is to be done
according to the channel of the SAP, that would fail in some cases
( SAP on DFS channel, and STA coming, so the driver would reject MCC,
and SCC) which could be avoided if the channel of the SAP wouldnt be
configured in the restart path, and would be configured in the callback
of SAP.
Also the secondary channel of the SAP was configured as the secondary
channel configured at time of fresh SAP bringup, hence the sec channel
isn't updated after every restart of SAP.
Fix is to configure the channel of in the global AP context
only when the SAP START or CHANNEL CHANGE event comes for
the SAP. Also update the secondary channel after the CSA.
Change-Id: I6cbc31cae4958c0d7da79d4640e5ad8b1ce98338
CRs-Fixed: 2355420
Add the following WLM and RRM ini configs to MLME
cfg:
CFG_LATENCY_ENABLE
CFG_LATENCY_LEVEL
CFG_LATENCY_FLAGS_NORMAL
CFG_LATENCY_FLAGS_MOD
CFG_LATENCY_FLAGS_LOW
CFG_LATENCY_FLAGS_ULTLOW
CFG_RRM_ENABLE
CFG_RRM_MEAS_RAND_INTVL
CFG_RM_CAPABILITY
Change-Id: I714aca1e9bc6d3c330934753364d7f58d93a28d7
CRs-Fixed: 2353103
If FW supports new htt format include only payload length in
the header length.
Change-Id: Ia668d73dcae3eb4adc1a4cfb0498b34d8c38f522
CRs-Fixed: 2361564
Previously change If7ad0e02c65e04ea13a308e680c9ba3b3d84ae25,
("qcacld-3.0: Add legacy DP CFG items and APIs") relocated support for
some datapath INI items from HDD to the legacy data path. As part of
this change some fields in struct cds_config_info are no longer being
used, so remove those fields.
Change-Id: I2ebcb5bd3964af7847b55d3d7300efd4823dc198
CRs-Fixed: 2363230
Previous change I8331367dd41dd0cedfa65c63f1bb3ffcb535e1c9
("qcacld-3.0: Call icnss API to check if WLAN FW is down") relocated
the source of firmware status from the wlan driver to the platform
driver. The legacy fw_state handling in CDS is no longer used, so
remove it.
Change-Id: Id8de0bd9441ecf7bb7e5931c503e16b62cbcfbf8
CRs-Fixed: 2363229
The functionality previously provided by struct cds_sme_cbacks has
been incorporated into the policy manager, and the struct is now
unused, so remove it.
Change-Id: Ia30cc18b5338073b9c96a29ca12b1383d31b4990
CRs-Fixed: 2363228
The current generation of the driver has never used typedefs
tBADirection, tBAEnable, tBAPolicy, or tBAPolicyType. Since these are
obsolete remnants, remove them.
Change-Id: I27645a6d4a1d9f472fbe204aea96f3ec9539a7c2
CRs-Fixed: 2363227
The current generation of the driver has never used typedef
tSirMacPropIE. Since it is an obsolete remnant, remove it.
Change-Id: I120162ffc62be87d7f4616abd0cb265799aeaf06
CRs-Fixed: 2363226
The current generation of the driver has never used typedef
tPacketType. Since it is an obsolete remnant, remove it.
Change-Id: If59f5bd145895c6821635a7e4099090f2db096c2
CRs-Fixed: 2363225
Previously change I7ff4dfb455daa464379b8d6a65e0a4cd3eb75570
("qcacld-3.0: Remove obsolete eWNI_SME_TKIP_CNTR_MEAS_REQ") removed
the only reference to typedef tSirSmeTkipCntrMeasReq, so remove it as
well.
Change-Id: I10ef269ae5e551c4a7b7dfb80418bb3d372a7437
CRs-Fixed: 2363224
Previous change I112d7ffb9a7d1b011f37ce2893cb0149a5703da7
("qcacld-3.0: Remove typedef tAniSecurityStat") removed the last
references to typedef tAni64BitCounters, so remove it as well.
Change-Id: I9327c3654acd10ed6e535748f322546578f14afc
CRs-Fixed: 2363223
Previous change I2aa270b6c3b90fb0b631c01ad873fbf2852764ed
("qcacld-3.0: Remove typedef tAniSecStats") removed the only
references to typedef tAniSecurityStat, so remove it as well.
Change-Id: I112d7ffb9a7d1b011f37ce2893cb0149a5703da7
CRs-Fixed: 2363222
Previous change I57c06c4506bfbd57dd283c03c4bd78c34727672b
("qcacld-3.0: Remove typedef tAniStaStatStruct") removed the only
references to typedef tAniSecStats, so remove it as well.
Change-Id: I2aa270b6c3b90fb0b631c01ad873fbf2852764ed
CRs-Fixed: 2363221
Previous change I57c06c4506bfbd57dd283c03c4bd78c34727672b
("qcacld-3.0: Remove typedef tAniStaStatStruct") removed the only
references to typedef tAniTxRxStats, so remove it as well.
Change-Id: I812d5db78d8058937d0de86ab98e5933374cf495
CRs-Fixed: 2363220
Previous change Id38087da738a2ee8bb16d4dff297420231476986
("qcacld-3.0: Remove tSirSmeDisassoc* perStaStats field") removed the
only references to typedef tAniStaStatStruct, so remove it as well.
Change-Id: I57c06c4506bfbd57dd283c03c4bd78c34727672b
CRs-Fixed: 2363219
Both tSirSmeDisassocRsp and tSirSmeDisassocInd contain a perStaStats
field that isn't used, so remove it from both structs.
Note that these perStaStats fields were the only places that
tAniStaStatStruct was used, so remove that as well.
Change-Id: Id38087da738a2ee8bb16d4dff297420231476986
CRs-Fixed: 2363218
The following macros are no longer used, so remove them:
- HDD_FINISH_ULA_TIME_OUT
- HDD_SET_MCBC_FILTERS_TO_FW
- HDD_DELETE_MCBC_FILTERS_FROM_FW
Change-Id: I6d7b3ee1c1d6fce5c19d8a3b7dd2034c220a98e4
CRs-Fixed: 2363217
Previously change Ib22dfa375217a48448c5a7872a9a2ed154dd862f
("qcacld-3.0: Refactor & fix the SAP HDD APIs to maintain symmetry")
removed the implementation of hdd_unregister_hostapd() but it failed
to remove the prototype, so remove it now.
Change-Id: I5ee4bebc85395833e667b182e6a2858f0814d883
CRs-Fixed: 2363215
Previously change I2cfee273ffbcefcd3294cc1a18fb58549166c55b
("qcacld-3.0: Green ap CFG convergence") removed the implementation of
hdd_green_ap_update_config(), but it failed to remove the inline stub
implementation for use when WLAN_SUPPORT_GREEN_AP was not enabled, so
remove it now.
Change-Id: I08bee34b1a42de0147c0e3701162b70ff5a21f21
CRs-Fixed: 2363214
During driver re init after SSR, all the previous adapters that were up
get re-initialized. In the case when SSR was triggered in FTM mode with
an interface up, the re_init path tries to register management frames.
As in FTM mode the message processor is not invoked, the memory
allocated by the register frames method is not freed in any context.
This leads to memory leak during the next call to
hdd_wlan_stop_modules.
Add a check in wlan_hdd_cfg80211_register_frames so as not to continue
with the registration if the driver mode if FTM.
Change-Id: I3cb8aa14d5298c0a76c0f30ca7cf1f0e7ad88dde
CRs-Fixed: 2351672
The following wlansap management frame registration functions are
unused, so remove them:
- wlansap_register_mgmt_frame()
- wlansap_de_register_mgmt_frame()
Change-Id: Ib8865fbda4e65e7bbd39576a49423f60426d489a
CRs-Fixed: 2361909
Send WMI_PEER_UNMAP_CONF_CMDID to FW after getting all
UNMAPs for the peer. This will ensure synchronization
between MAP/UNMAP and same peer_id won't be used for
different MAC address until all UNMAPs are processed.
Change-Id: I2c7793b527d5dbab0f9571185e6c16e0c6b7fcc3
CRs-Fixed: 2357245
status variable is not defined but it is being used which creates
build failures when FEATURE_AP_MCC_CH_AVOIDANCE is defined, thus
define the variable ..
Change-Id: Icd4b3616832c09577c19e7e65f7ce30134b4fd59
CRs-Fixed: 2362845
Currently in the "getHostStates" ioctl handler a call is made to
sme_get_lim_sme_state() to retrieve the LIM global MLM state. That is
the wrong function. Update the logic to call the correct function,
sme_get_lim_mlm_state().
Change-Id: I53151ba817b0ee9f4cf141e29dbf4e8c8c4b92e4
CRs-Fixed: 2361830
Many of the function signatures in csr_api_scan.c do not conform to
the coding style, so make them conforming.
Change-Id: I50a46c2227b639af652b4e21d3a84d62140fce2c
CRs-Fixed: 2361755
The file csr_api_scan.c defines multiple macros, most of which are
not actually used by the current version of the code, so remove the
obsolete ones.
Change-Id: Ic3c64dea55ab19bbf1f39b52eedca121aef5bd25
CRs-Fixed: 2361754
The following functions are unused, so remove them:
- wma_is_sap_active()
- wma_is_p2p_go_active()
- wma_is_p2p_cli_active()
- wma_is_sta_active()
Change-Id: I801176fb2b4df9308744fcde27dc789e88e1e550
CRs-Fixed: 2361895
Previously change I983851d8cc0d3605c3d6bd0d8975c72844f71740
("qcacld-3.0: TDLS: remove remaining legacy code") removed the last
references to macro OL_TXRX_INVALID_TDLS_PEER_ID, but did not remove
the macro itself, so remove it now.
Change-Id: I8cceb66b8b52ae55cceb3400d2fdc2bb618b73cd
CRs-Fixed: 2362723
Previously change I5c873b9571228f0d2b4fcd4782267a2cc40fc20a
("qcacld-3.0: Remove the deprecated IOCTL in TDLS") removed the
implementation of wlan_hdd_tdls_set_params() but failed to remove the
prototype, so remove it now.
Change-Id: I0fa178bc92bc2a02e45d1ec577f9a54f40d559fb
CRs-Fixed: 2362722
Previously change Ia860904685fc4783453491effa4518777c7406d0
("qcacld-3.0: TDLS: remove legacy interfaces") removed the "real"
implementation of hdd_tdls_notify_p2p_roc(), but it left behind the
stub implementation for use when FEATURE_WLAN_TDLS is not enabled, so
now remove the stub.
Change-Id: Ic7c95c41fe66378bc51785b28010ed2263fd3b55
CRs-Fixed: 2362721
Previously all instances of the identifier "pAdapter" were renamed
within the driver. However the hdd_enable_default_pkt_filters()
prototype had a misspelling and hence it was not renamed, so rename it
now.
Change-Id: I6b2045496e5e6775dc12061254d06bcadf60be88
CRs-Fixed: 2362720
Previously change Idaaacac4fdaf1b964432c33c10b1c86f8a591c2d
("qcacld-3.0: Remove legacy P2P codes in HDD") removed function
wlan_hdd_roc_request_dequeue() but did not remove the prototype, so
remove it now.
Change-Id: Ic2eb217b3974b274e890c1c556eece9e688463b4
CRs-Fixed: 2362719
A prior version of the driver had LIBRA_LINUX_PC feature code, but it
has all been removed except for one piece, so remove that last bit
which conditionally defines HDD_TX_TIMEOUT.
Change-Id: Ie714b134b789a4649f8da7bbf5e98f36d27ed4ff
CRs-Fixed: 2362718
Change I15535827a03953231670d4138235c4876b16e045 ("qcacld-3.0: Add GRO
support for STA mode") removed the implementation of hdd_lro_init(),
but it failed to remove the inline stub implementation for use when
FEATURE_LRO was not enabled, so remove it now.
Change-Id: Ie835fdd08322c8968333e264d1228586261b5d59
CRs-Fixed: 2362716
CDS contains a set of CDS_PKT_TRAC_* macros that were used by a prior
version of the driver. The current driver uses a different mechanism,
so remove the now unused CDS_PKT_TRAC_* macros.
Change-Id: I4f0e3a44e6786d3ed03e22807811878b2a187185
CRs-Fixed: 2362715
The cds_sched_context contains an ol_rx_queue_len field that is
unused, so remove it.
Change-Id: Ib2a03a61a19424f3cb41c975a886b12f674de247
CRs-Fixed: 2362714
In CDS there is a forward reference to struct hdd_context_s, However
this forward reference is not used, and in fact that struct name is no
longer in use in the driver, so remove it.
Change-Id: Iecf43870b22143f656bb9b8e413ae46c2f59bab4
CRs-Fixed: 2362713
The cds_packet infrastructure has been partially converted to QDF. As
a result some of the legacy definitions are no longer being used, so
remove them.
Change-Id: I6827c08c3f39da8b0a561d6c3e4fe6f7eb528a25
CRs-Fixed: 2362712
The identifier pDphHashTable does not conform to the Linux coding
standard, so rename it hash_table.
Change-Id: Icd76163766cb542d62ac6ad476079a0ec7f41b2d
CRs-Fixed: 2361806
The naming and usage of typedef dphHashTableClass does not conform to
the Linux coding style, so replace it with struct dph_hash_table.
Rename dph_hash_table_class_init() as well to match the new naming.
Change-Id: I38df3c01736dfbeff3d51be05582ebfe69c1353b
CRs-Fixed: 2361805
Although the implementation has been removed, the prototype for
wma_update_vdev_tbl() is still present, so remove it as well.
Change-Id: Ifcf10e97d0bc24bdf88c69f936e998b228ec945b
CRs-Fixed: 2361930
WMA has a prototype for wmi_unified_pdev_set_param(), but there is no
implementation, so remove it.
Change-Id: Id39afc1a1966bca9b8b947bb0b2c89f5d1b21801
CRs-Fixed: 2361995
Almost all of the p2p Listen Offload logic has been componentized,
therefore remove the following unused functions from WMA:
- wma_p2p_lo_start()
- wma_p2p_lo_stop()
- wma_p2p_lo_event_handler()
Change-Id: I750870ccbe84e817954a3ee1a50e2e8daa5ab661
CRs-Fixed: 2361886
The functionality previously handled by wma_p2p_noa_event_handler() is
now done in WMI. Since wma_p2p_noa_event_handler() is no longer used,
remove it.
Change-Id: Id8095a79fee6be83c886a1635a1ce0b1a2e4087b
CRs-Fixed: 2361871
WMA defines struct sP2pPsParams which is unused. Since this is
obsolete, remove it.
Change-Id: I4d42f42ac9b3cd432dbebd405f7779ca6c94e937
CRs-Fixed: 2362014
WMA defines struct sTdlsLinkEstablishParams which is unused. Since
this is obsolete, remove it.
Change-Id: I2a28564ccb5ad85d65a62a5e9f0ac6c500a80c2d
CRs-Fixed: 2362013
The eCsrDot11FragThresh typedef, along with its member enumerations,
are unused, so remove them.
Change-Id: Ie57bf437072767b8befab8d28bb86b416737d137
CRs-Fixed: 2361343
Function csr_rates_find_best_rate() is unused, so remove it, along
with the now unused support function csr_rates_mac_prop_to_dot11().
Change-Id: I0a9e7894734a5a4f47030f8d12d0e41d0b23e95e
CRs-Fixed: 2361290
When switch channel failed, need handle it gracefully,
pass failure to PE and disconnect current session.
Change-Id: If489e519a1784dabf630d5bde34ef8de56abf5e1
CRs-Fixed: 2360726
Replace legacy string in vdevmgr with ext string.
Also adds new compile CMN_VDEV_MLME_CMPT_ENABLE macro
for VDEV MLME component.
Change-Id: I40ce0c2ee4d653d2f4ce68093e8ad1b2c78bece8
CRs-Fixed: 2361525
If interface is not closed, Bus bandwidth compute timer is not
stopped during rmmod.
Stop bus bandwidth compute timer during driver remove
Change-Id: If9206f9dcfb6120394848715a6f31a810002d0c9
CRs-Fixed: 2355345
The typedefs tAniStatSubTypes, tAniTxCtrs, & tAniRxCtrs, as well as
the ANI_CLEAR_* macros, are remnants from an ancestor of the current
driver. Since they are unused, remove them.
Change-Id: I7c54f821066d06cb6134021d04050c38c1be888e
CRs-Fixed: 2361225
Currently if the number of APs in the STA environment
are many, then the STA will receive many beacons, whose
beacon process path can take long time, in the kernel
work queue, hence the other processes have to wait
for them to complete, and may get timeout, if the
the time to process the beaocns is larger than their
process timeout.
Fix is to :-
1. Add rate limit to failure conditions of memory
not allocated
2. Make memory allocation in path of beacon process
atomic.
Change-Id: Ifad1d6985a48967d8f6f53527f86c1ee0f481b9e
CRs-Fixed: 2361471
Field tdlsCmd in struct tSmeCmd is unused, so remove it. Since that
field is the only user of struct tTdlsCmd, remove it and its composite
structs as well.
Change-Id: I06f8293b7f0ec2827016825c93fccc7075fcc9b7
CRs-Fixed: 2361288
Field addStaSessionCmd in struct tSmeCmd is unused, so remove it.
Since that field is the only user of struct addstafor_sessioncmd
remove that as well.
Change-Id: I5624ab301c11045de34781dc4dff3ef7d2c784d8
CRs-Fixed: 2361287
Field remainChlCmd in struct tSmeCmd is unused, so remove it. Since
that field is the only user of struct tRemainChlCmd, remove that as
well.
Change-Id: I99c7ee1187f8f17a1e4003fb3c2509e857745e20
CRs-Fixed: 2361286
Scan request queueing has moved to the common project and
struct hdd_scan_req is no longer used, so remove it.
Change-Id: I88f2c6c313c7900406d6bddda87e612099d75e58
CRs-Fixed: 2361084
This reverts the change id- I3505c128276fa8e5e05ea5d9110eb75275a746e9.
When wifi is toggled from GUI, in order to support MAC randomization
security mechanism driver should not flush scan cache during interface
down. Framework has to set the scan flush flag so that driver will flush
the scan results while interface up and then do the scan.
Remove scan flush logic from driver on interface down.
Change-Id: I45ad1a257ab7ef4bd5474f52fd0dbfde5e3514c4
CRs-Fixed: 2360898
Per the Linux coding style "mixed-case names are frowned upon" so
remove the leading "e" from the eHDD_DRV_OP_* enumerations .
Change-Id: If756cbc89fb87f0dd8f4b0f7e8200d488a0215e7
CRs-Fixed: 2361015
An ancestor of the current driver featured a multi-threaded MAC
implementation. Some definitions from that driver still exist,
including timer durations, service queue sizes, thread entry points,
thread stack sizes, and thread priorities. Since none of these are
used by the current driver, remove them.
Change-Id: I574aeeedcc8a67a4b763f7ef179753416ae1731e
CRs-Fixed: 2361051
The following DPH structs are unused, so remove them:
tDphRateBasedCtr
tDphPhyRates
tDphIFSValues
tDphQueueAttr
Change-Id: Iff29224090b1e6fb9e7f0ba358dc3cd2e5d4fab9
CRs-Fixed: 2360916
The information previously contained within tdlsInfo_t has been
relocated to struct tdls_info in the TDLS component, and tdlsInfo_t is
no longer being used, so remove it.
Change-Id: I96a4b7c442f9f42e53d6eeb4a7ba3182737d9e2c
CRs-Fixed: 2361021
Add the following WLAN_REG ini configs and FE_BEAMFORM
cfg items to MLME cfg:
1. WNI_CFG_11D_ENABLED
2. WNI_CFG_11H_ENABLED
3. WNI_CFG_TX_BF_CAP
4. WNI_CFG_AS_CAP
5. WNI_CFG_DISABLE_LDPC_WITH_TXBF_AP
Introduce the basic infra APIs related to these configs
from mlme.
In csr_roam_open_session, lim_populate_vht_mcs_set,
lim_sta_send_add_bss, populate_dot11f_tdls_ht_vht_cap,
populate_dot11f_vht_caps and sme_update_nss, local structure
is updated instead of mlme global structure for vht caps and
thus the mlme vht caps contains only the default values.
Fix this by updating mlme vht caps in mlme_update_vht_cap.
Change-Id: I1a948d7a44ad2bcc7f711c46b278971d7e4026e7
CRs-Fixed: 2354562
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
sap_api_link_cntl.c
sap_ch_select.c
sap_fsm.c
sap_internal.h
sap_module.c
Change-Id: Iec4f67fc3ba08cf046d00136fb0f4edf37d65d64
CRs-Fixed: 2360297
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in lim_process_sme_req_messages.c.
Change-Id: If95c95d85de7ee5cfc4e6311b5356dc697b05f0a
CRs-Fixed: 2360306
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
lim_api.c
lim_api.h
Change-Id: I9f3c2dcc0fe9f00c44f965fc0d3388327854b7a8
CRs-Fixed: 2360305
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in lim_types.h.
Change-Id: Id7c304df1e7e4c872dd0cdf86d1b288ae1e9d6f8
CRs-Fixed: 2360304
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
nan_datapath.c
nan_datapath.h
Change-Id: Ie81269c78e042a985a3a7a0634037559b94825c7
CRs-Fixed: 2360303
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
sch_api.c
sch_api.h
sch_beacon_gen.c
sch_beacon_process.c
sch_message.c
Change-Id: If8f67e3c3ef6bbd6da3ac2c3acfb45048f58fe53
CRs-Fixed: 2360302
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
rrm_api.c
rrm_api.h
Change-Id: Icc91e689c6ce8024e956500bddb955b3e7862ad1
CRs-Fixed: 2360301
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
lim_utils.c
lim_utils.h
Change-Id: If1e5d47c6e5ac12fde3160fe53b2e992e172b156
CRs-Fixed: 2360299
Invalid channel_count may be sent to driver by user with
QCA_NL80211_VENDOR_SUBCMD_DCC_UPDATE_NDL vendor command, and may also
pass the sanity check with update_ndl_param->dcc_ndl_chan_list_len as
integer overflow, in send_dcc_update_ndl_cmd_tlv. This leads to heap
overflow while updating NDL per channel.
Fix is to validate channel count sent by user in
__wlan_hdd_cfg80211_dcc_update_ndl before accessing it.
Change-Id: Icf385dd5618fcdbdbf427062fe581fa7d3909882
CRs-Fixed: 2339182
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
parser_api.c
parser_api.h
utils_parser.c
utils_parser.h
Change-Id: Iea09e107133f9621ccdfc0ed89aefcf48c1a16a3
CRs-Fixed: 2360294
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
sme_qos.c
sme_qos_api.h
sme_qos_internal.h
Change-Id: Idb247cfab508543bbdaa9cd1f57a374fc8b6799e
CRs-Fixed: 2360293
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
sme_api.h
sme_api.c
Change-Id: If0264aeecf484c1adf4342a895e3449aee8f3006
CRs-Fixed: 2360291
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in struct sSirSmeReadyReq.
Change-Id: I29b0ce1559f6907428f7004a44250ed6b25fa67a
CRs-Fixed: 2360290
If power-save is disabled then driver is returning failure to KERNEL
which causes framework and kernel to go out of sync and therefor
kernel doesn't accept any power-save enablement command from framework.
CRs-Fixed: 2357896
Change-Id: I36db68454f1ff6661563d021fc5b75b8161e8a78
Add INI parameter "gEnablePeerUnmapConfSupport" to enable/disable
peer unmap confirmation support. When enabled Host will send
this support to the FW only if FW support is also enabled.
Default Value: False
Change-Id: Id368e61b5a99354e25a1fa2a0ff61b1262217521
CRs-Fixed: 2358126
NAN related OS IF, Target IF and component files have been
merged into CLD. Add Makefile changes, include correct
files, replace lmac tx/rx ops with the new ops and call
updated API's such as init/deinit.
Complete the remaining changes for moving NAN component
into CLD.
Change-Id: Idcf8816337aa49b399596ce3cdfc9cdab811d386
CRs-Fixed: 2338060
Per the Linux coding style both mixed-case names and so-called
Hungarian notation are frowned upon. There are multiple variations of
the identifier "pSessionEntry" currently in use, so replace them with
pe_session everywhere they occur in the driver.
Change-Id: I6cc37504bf9e8821c0e1c3d99e4f97a57aaba24c
CRs-Fixed: 2360166
To conform to the Linux coding style rename all instances of "pPeer"
to "peer".
Change-Id: I012a647e97a01f29224620682bff70a814ee3cc8
CRs-Fixed: 2359578
The identifier pftSessionEntry, which is used throughout the LIM FT
code, does not conform to the Linux coding style, so rename it to
ft_session to be compliant.
Change-Id: I466b396e4f84f1e02fa50dffa857fd43000fba27
CRs-Fixed: 2359658
When CONFIG_MOBILE_ROUTER is enabled there are build failures
due to improper featurization of TDLS, so fix the featurization
build failures.
Change-Id: I0e6b21615e763f2c4c86e0092807062cc8397705
CRs-Fixed: 2355801
The copyright comment block in wlan_hdd_nud_tracking.h is not properly
aligned, so fix it.
Change-Id: I180980435c062fbdc43db58f84d9b48335f6bdc6
CRs-Fixed: 2359488
All references to typedef tpPESession have been converted to instead
to refer to the underlying struct, so remove the now obsolete typedef.
Change-Id: I58d80f42527a2edb20ca27a514600aa308e78fd8
CRs-Fixed: 2354302
Add power items related CFG items in new file,
and store the respective inis in MLME component
Change-Id: Iac183da52495aca07c6270edeb9f383ab49c1ff5
CRs-Fixed: 2341900
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_assoc_req_frame.
Change-Id: Ieab2818e7f0121f65454a29e2bfa716021bd2355
CRs-Fixed: 2354293
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_auth_frame.
Change-Id: I5b40607744f57e30eeb4f4bc6ab7dd9996035e1e
CRs-Fixed: 2354295
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_mlm_req_messages.
Change-Id: I573e4775936c0139f4853725675359af7b8511ee
CRs-Fixed: 2354285
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_tdls.
Change-Id: I410d0da4f6fc3202b4d96ca79ce7a8cdf5b7e145
CRs-Fixed: 2354290
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_mlm_rsp_messages.
Change-Id: I30b485531801979b8da934975eeda5bcf34294fe
CRs-Fixed: 2354289
There are multiple issues with how hdd_conn_set_connection_state()
is exported:
1) The prototype is defined in wlan_hdd_cfg80211.h even though the
implementation is in wlan_hdd_assoc.c.
2) The prototype uses the "extern" keyword which violates the Linux
Kernel coding style.
3) The implementation is documented instead of the interface.
To address these issues move the prototype (without "extern") as well
as the documentation to wlan_hdd_assoc.h.
Change-Id: Ie2b80e953cc500c10ae14d94c375cc1487241b6c
CRs-Fixed: 2357078
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_sme_req_messages.
Change-Id: I1de7a895225db8abaa462c6baef297eac299a77b
CRs-Fixed: 2354329
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_send_management_frames.
Change-Id: Ieace9841d36d93371c0929ef5232c052cade4d8e
CRs-Fixed: 2354288
qcacld-2.0 to qcacld-3.0 Propagation.
the wma_send_time_stamp_sync_cmd will not be processed by fw,
so remove this wma_send_time_stamp_sync_cmd.
CRs-Fixed: 2280656
Change-Id: I3aee6e2da4783772ad9acf3fc20c3669829f9397
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_action_frame.
Change-Id: Ic07be2b8001ec0b79115b6a149b2cf176381f52b
CRs-Fixed: 2354296
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_assoc_utils.
Change-Id: I917e16c306e45df6ee81b0f38cefd5190fbad149
CRs-Fixed: 2354280
The inline function MAC_CONTEXT() is the preferred mechanism for
converting a MAC handle into a MAC context, so replace all instances
of the legacy macro PMAC_STRUCT().
Change-Id: Ieb29696c79b729648462be699892607484c2f301
CRs-Fixed: 2357873
Since QDF TRACE INIs used infrequently, remove them and related codes.
Please file new FR to trace the requirement about host log level
setting.
Change-Id: I9c519cf2509e3dc22282f0c7ea6f52cbd2913ccd
CRs-Fixed: 2358850
qcacld-2.0 to qcacld-3.0 Propagation.
Connection fails after ssr due to the tx queues are paused by tx flow
control and ssr happens before tx resume, and the tx queues cannot be
resumed because of the unpaired status of pause map.
Resume tx queues and update pause map at the beginning of ssr if the tx
queues are paused by tx flow control.
CRs-Fixed: 2146129
Change-Id: Ib1ed8360c6effa4a47fc1702650375bf2380e65c
The 3rd party AP with Vendor IE OUI 001018, Vendor Data
02 FF 00 9C 00 00 and NSS 4x4 is not able to handle OMN/SMPS
frames sent by DUT in 2.4Ghz. This leads to the AP dropping
the data rates to 1Mbps and low throughput is seen.
This is because the connection is done with NSS 2x2 and when Coex
scenarios occur, the DUT switches dynamically to 1x1 by sending
OMN/SMPS frames. To overcome this issue, the workaround is to
blacklist the above AP and do connection in 1x1 only.
Add the vendor OUI of the 3rd party AP to gActionOUIConnect1x1
default INI string to connect in 1x1.
Change-Id: Idc0f3238e3521bb20c592b44de77216125e69504
CRs-Fixed: 2352946
Change the policy & priority of RX thread to improve the RX throughput for
Specified platform.
Change-Id: Ie9df5de6f34d75264c4f3b7bdcb59ab92845a128
CRs-Fixed: 2354502
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_ibss_peer_mgmt.
Change-Id: I56fd03e60e793f707e0078b278b623a7141565dd
CRs-Fixed: 2354279
For STA connect/disconnect, SAP start/stop relative cmds, just
use following serialization command types:
Converged cmd types:
WLAN_SER_CMD_VDEV_START_BSS
WLAN_SER_CMD_VDEV_STOP_BSS
WLAN_SER_CMD_VDEV_CONNECT
WLAN_SER_CMD_VDEV_DISCONNECT
WLAN_SER_CMD_VDEV_RESTART
Change-Id: I533f650e1f69048d6861751ab74f75d8d5f18c83
CRs-Fixed: 2318545
Convert the current hard-coded list of unit-test callbacks in
hdd_we_unit_test() to a vtable. This streamlines future additions.
Change-Id: I216bbb6699ae50eaa96ac559999cb42ba080867c
CRs-Fixed: 2358606
DP RX thread is using an un-initialized lock during suspend/resume
routine. This lock is not needed as the code is executed only by a
single execution context.
Remove usage of un-initialized lock.
CRs-Fixed: 2351010
Change-Id: I656562fe3ca73a5044163008a44ffae416a6a7fa
In monitor mode there is no disconnect, so vdev stop and down is
not handled. Make sure to stop and down the vdev before vdev delete.
Change-Id: I25f5a0e01deda8f2e16e102113b10f32e89b3e38
CRs-Fixed: 2357047
Since refined second part of LFR INIs, apply these changes in
SME/MAC/WMA layer.
Change-Id: I7994a9038d5bd094ce23bcd525ef8f5282974bfc
CRs-Fixed: 2346790
Since refined second part of LFR INIs, apply these changes in HDD
layer. Delete related legacy codes in HDD layer.
Change-Id: Id39629e33e87ffe6ed58f375609a55e324618693
CRs-Fixed: 2346787
Based on new cfg component, refactor CFG_TX_POWER_CTRL_NAME and clean
up related legacy codes.
Change-Id: I6dd317d5065c4111b71a9fe94d9b9af1f7d3d664
CRs-Fixed: 2355918
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_utils.
Change-Id: Icdc8a2de69a676aa54d7f13b3373dc872ccb8889
CRs-Fixed: 2354269
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_ft.
Change-Id: I3e4409755a53e31d2a39410ad5afd477cf80322a
CRs-Fixed: 2354282
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_send_messages.
Change-Id: Ib5154a8e0b9d1496aeac8bf5b5afa81e977e3940
CRs-Fixed: 2354273
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_prop_exts_utils.
Change-Id: I9600beefca0c83f22d7d10f2c7d2f7d3a5c185a0
CRs-Fixed: 2354274
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_admit_control.
Change-Id: Ie033e25175d52c8b2bf19f2fa2266990580c9db1
CRs-Fixed: 2354272
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_send_sme_rsp_messages.
Change-Id: I2b55ab412988dedd8d4edacb82f7008dcf90a6fe
CRs-Fixed: 2354271
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_types.
Change-Id: Ida4a6fe462ae1fbb9e244e3d142b28db125f9261
CRs-Fixed: 2354270
Currently, in struct sSirTdlsAddStaReq, unpacked member
sSirHtCap is used. But, in the similar TDLS component
structure tdls_add_sta_req, packed struct
htcap_cmn_ie is used. While typecasting there is possibility
of padding of some bytes which results in wrong values.
Change-Id: Ic7a561d82640dac72c3c973e51ba97b90e211fa5
CRs-Fixed: 2343375
Extend max psk_pmk size to 48, avoid overflow issue. For
WPA-EAP-SUITE-B-192 key_mgmt AP, pmk_len is up to 48 bytes.
Change-Id: I41397283e9ef2d452b7d9d40e9ddffbfb8a676ac
CRs-Fixed: 2353860
Initialize gp_cds_context->cfg_ctx before any error case happened and
goto err_wma_close. Otherwise, in wma_wmi_service_close, it's trying to
free uninitialized gp_cds_context->cfg_ctx.
Change-Id: I822ecf77676b9d638c414afb544fdb41d7b1d146
CRs-Fixed: 2355042
Connected roam profile's SSID is used to get the BSS entry from kernel
and indicate the same to kernel in cfg80211_connect_bss. If the
roam profile's SSID is NULL, the BSS entry indicated to kernel is
with NULL SSID and this result in disconnect from supplicant as
it assume that SSID of AP changed.
Fix is to fill the SSID in connected roam profile from roam profile
if SSID is NULL in beacon.
Change-Id: Ie42eceb50b6af551ac1f4ca7d37b73eff107dfbd
CRs-Fixed: 2349572