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 tSirSmeChanInfo 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, as well as to be more specific on how the
struct is used.
Change-Id: Ic9a596d05a7c4c0727264c33e865edd4a9786dac
CRs-Fixed: 2394998
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 tSirSmeJoinRsp 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: I05b813c376cc837fa4580f5000a977ff0907c8a9
CRs-Fixed: 2394997
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 tSirSmeJoinReq 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: Ie13a540223f8f08ad725b26cd55204f1221a4faa
CRs-Fixed: 2394996
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 tSirPlmReq 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: Ie7eb223daef08337dda492e2d63754eb69ca09b9
CRs-Fixed: 2394995
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 tSirMacESETSMIE 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
and so-called Hungarian notation, so in conjunction rename the
underlying struct to be in compliance.
Change-Id: Ie14f95860e83a2099f457e6f62261a8c77f9f1fe
CRs-Fixed: 2394994
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 tSirMacESETSRSIE 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
and so-called Hungarian notation, so in conjunction rename the
underlying struct to be in compliance.
Change-Id: I87fe78a27f14557c9d19a4c9a9f2c7814aef9705
CRs-Fixed: 2394260
In wma_group_num_bss_to_scan_id(), bssid_list may get accessed
outside of the available buffer size.
Fix the possible out of boundary access by adding a check.
Change-Id: I5e278bd96b8f57c96f53d7c3cd8f4f3e5a67fc6c
CRs-Fixed: 2385431
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 tSirEseBcnReportRsp 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: Id687d039c51eaf293cdd39536cf200874bd8fbc9
CRs-Fixed: 2394253
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 tSirEseBcnReportBssInfo 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: I241243a7e3313870cf08731775eb5bbf21f2cc62
CRs-Fixed: 2394251
Function lim_send_sme_tsm_ie_ind() contains some parameters and local
variables that are not aligned with the Linux Coding Style, so update
them to be compliant. In addition, update the function documentation
to use Linux kernel-doc style, and document the interface and not the
implementation.
Change-Id: I99a13686747fa3333dc3cd4a98cc581679cbd5bf
CRs-Fixed: 2394252
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 tSirSmeTsmIEInd 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: I41b8b340fa3f781973d78edde3b54b7a5f0bd30d
CRs-Fixed: 2394254
Per the Linux Coding Style mixed-case names are frowned upon, so
rename tsmIe to tsm_ie everywhere it appears.
Change-Id: I58b4646b0b3b1b9c85da7336ce76571648e566e5
CRs-Fixed: 2394250
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 tSirTsmIE 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: I9c0784f93fa67b571bb816ded4a137f4435accfc
CRs-Fixed: 2394249
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 tSirChannelList 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: Ib50b8d82b7ac05a1a32496bb80917e22b4b8ae95
CRs-Fixed: 2394248
An upcoming set of changes will converge three sets of TDLS structs
into one. In order to allow the qcacld-3.0 changes to be made
independent of the qca-wifi-host-cmn changes change the call to
wmi_unified_update_tdls_peer_state_cmd() to use (void *) typecasting.
Note that this is a temporary change since the typecasting will be
completely removed when the convergence has been completed.
Change-Id: I59089575b2f5f7470ad60ca85247367c14e72bcd
CRs-Fixed: 2395336
Add the WMM config ini config
CFG_TL_DELAYED_TRGR_FRM_INT_NAME to MLME cfg.
Introduce the basic infra APIs related to these configs
from mlme.
Change-Id: Ifaf8072a78f21760e00973e625d7c8e41d8b51a6
CRs-Fixed: 2361533
Currently 11d offload functionality is in reg_host_11d.c and
reg_host_11d.h files and are getting controlled with a
feature flag HOST_11D_SCAN.
HOST_11D_SCAN flag is to enable host 11d scan and 11d offload
feature should not be controlled with this flag.
Move 11d offload functionality to separate files
reg_offload_11d_scan.c and reg_offload_11d_scan.h and
compilation rule for these files.
Change-Id: I9bb73a5d995083cb746b76901a2db0d37a9b9827
CRs-Fixed: 2382525
sap_ctx is leaked in SSR test, step as:
1.1 wlan1 is added by __wlan_hdd_add_virtual_intf for sap.
1.2 sap_ctx is created in __wlan_hdd_add_virtual_intf->hdd_start_adapter.
1.3 ssr happens just after creating wlan1 but without open it.
1.4 no interface is opened by checking hdd_check_for_opened_interfaces,
then iface_idle_work(hdd_iface_change_callback) is scheduled when
stop sta interface.
As sap_ctx is still used for sap restart in SSR. So release it
once all the interfaces are down.
Change-Id: I1a522818f3e505d6aa828058cb585d8f07690824
CRs-Fixed: 2389030
Originally struct hdd_adapter only used the legacy term session_id to
reference a session. To align with converged naming it was desirable
to change this to vdev_id. In order to ease the transition change
Id92b1a7bb9721564ba01184809fec98be2143545 ("qcacld-3.0: Alias vdev_id
to session_id in hdd_adapter") replaced the session_id field with a
union that contains both a session_id and a vdev_id field. Subsequent
changes replaced all session_id field references with vdev_id.
Now that all references to hdd_adapter field session_id have been
changed to vdev_id, remove the union that was previously added,
leaving behind just the vdev_id field.
Change-Id: I7a2e0812dcd9e9a9f229d1e310785710ab9d4acf
CRs-Fixed: 2393156
Originally struct hdd_adapter only used the legacy term session_id to
reference a session. To align with converged naming it is desirable to
change this to vdev_id. In order to ease the transition change
Id92b1a7bb9721564ba01184809fec98be2143545 ("qcacld-3.0: Alias vdev_id
to session_id in hdd_adapter") replaced the session_id field with a
union that contains both a session_id and a vdev_id field. This allows
vdev_id and session_id to both be used to access the same data item.
To continue the transition replace the session_id field references
with vdev_in in the following files:
- wlan_hdd_active_tos.c
- wlan_hdd_apf.c
- wlan_hdd_cfg.c
- wlan_hdd_debugfs_offload.c
- wlan_hdd_debugfs_roam.c
- wlan_hdd_disa.c
- wlan_hdd_ext_scan.c
- wlan_hdd_ipa.c
- wlan_hdd_lpass.c
- wlan_hdd_nan_datapath.c
- wlan_hdd_nud_tracking.c
- wlan_hdd_object_manager.c
- wlan_hdd_ocb.c
- wlan_hdd_oemdata.c
- wlan_hdd_p2p.c
- wlan_hdd_p2p_listen_offload.c
- wlan_hdd_packet_filter.c
- wlan_hdd_power.c
- wlan_hdd_regulatory.c
- wlan_hdd_sap_cond_chan_switch.c
- wlan_hdd_scan.c
- wlan_hdd_spectralscan.c
- wlan_hdd_subnet_detect.c
- wlan_hdd_sysfs.c
- wlan_hdd_tdls.c
- wlan_hdd_tsf.c
- wlan_hdd_wmm.c
- wlan_hdd_wowl.c
Change-Id: Ia3a884afc57f40ddbe99d740eecf05ec6ff44155
CRs-Fixed: 2393157
Originally struct hdd_adapter only used the legacy term session_id to
reference a session. To align with converged naming it is desirable to
change this to vdev_id. In order to ease the transition change
Id92b1a7bb9721564ba01184809fec98be2143545 ("qcacld-3.0: Alias vdev_id
to session_id in hdd_adapter") replaced the session_id field with a
union that contains both a session_id and a vdev_id field. This allows
vdev_id and session_id to both be used to access the same data item.
To continue the transition replace the session_id field references
with vdev_in in the following files:
- wlan_hdd_assoc.c
- wlan_hdd_hostapd_wext.c
- wlan_hdd_softap_tx_rx.c
- wlan_hdd_stats.c
- wlan_hdd_tx_power.c
- wlan_hdd_tx_rx.c
Change-Id: I8f35530e6c9331c57f6c2ef0245b324b9a96ef20
CRs-Fixed: 2393155
Originally struct hdd_adapter only used the legacy term session_id to
reference a session. To align with converged naming it is desirable to
change this to vdev_id. In order to ease the transition change
Id92b1a7bb9721564ba01184809fec98be2143545 ("qcacld-3.0: Alias vdev_id
to session_id in hdd_adapter") replaced the session_id field with a
union that contains both a session_id and a vdev_id field. This allows
vdev_id and session_id to both be used to access the same data item.
To continue the transition replace the session_id field references
with vdev_in in the following files:
- wlan_hdd_ioctl.c
- wlan_hdd_main.c
- wlan_hdd_ota_test.c
Change-Id: I0411cf77bdc41fe72c9ebe85264a93957c66c191
CRs-Fixed: 2393154
Originally struct hdd_adapter only used the legacy term session_id to
reference a session. To align with converged naming it is desirable to
change this to vdev_id. In order to ease the transition change
Id92b1a7bb9721564ba01184809fec98be2143545 ("qcacld-3.0: Alias vdev_id
to session_id in hdd_adapter") replaced the session_id field with a
union that contains both a session_id and a vdev_id field. This allows
vdev_id and session_id to both be used to access the same data item.
To continue the transition replace the session_id field references
with vdev_in in the following files:
- wlan_hdd_hostapd.c
- wlan_hdd_rssi_monitor.c
- wlan_hdd_wext.c
Change-Id: If11580cd3e0c4c8443224ac201f7f62301b262aa
CRs-Fixed: 2393153
Originally struct hdd_adapter only used the legacy term session_id to
reference a session. To align with converged naming it is desirable to
change this to vdev_id. In order to ease the transition change
Id92b1a7bb9721564ba01184809fec98be2143545 ("qcacld-3.0: Alias vdev_id
to session_id in hdd_adapter") replaced the session_id field with a
union that contains both a session_id and a vdev_id field. This allows
vdev_id and session_id to both be used to access the same data item.
To continue the transition replace the session_id field references
with vdev_in in the following files:
- wlan_hdd_cfg80211.c
Change-Id: I429bf4dbaa173b9c5400f48b03c425141c119288
CRs-Fixed: 2393152
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 tSirSmeStartBssRsp 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: I41cdd14871296342b70ab4d580dbacde3795d3a6
CRs-Fixed: 2393735
Per the Linux Coding Style mixed-case names are frowned upon, so
rename HTProfile to ht_profile everywhere it appears.
Change-Id: I9103a9f31a6157134f9ea08ebefbe53bb50a043f
CRs-Fixed: 2393733
Currently, driver allows VDEV-RESTART on SAP interface in order to
channel switch or hidden ssid connection when roaming is in progress
on STA interface. This leads to two simultaneous vdev starts or
vdev-restart in FW which causes the FW to assert.
Add changes to reject the channel switch for SAP or in hidden ssid
connection if roaming is in progress on any STA interface.
Change-Id: I1cea389021049779b5aa00145e2470cd67158edd
CRs-Fixed: 2390235
Change I3b1ee6254de158ad6408dc8c61e83be571e180af refactored 3
APF related INI's into CFG framework. This was merged with a
a copying error causing INI string "gActiveMcBcBpfMode" being
replaced by "gActiveUcBpfMode". Fix this by correcting the
string name.
Fix copying error by replacing with the correct INI string.
Change-Id: I41576b1b22287f7c0fd751ce96ceddb8f7cbc62a
CRs-Fixed: 2393504