We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code in ol_tx.c which is generating warnings because
not all public APIs have prototypes defined. Define the missing
prototypes for:
ol_tx_send_ipa_data_frame()
ol_tx_non_std()
ol_txrx_mgmt_tx_cb_set()
ol_txrx_mgmt_send_ext()
In addition make the following private since they are now only called
internally to ol_tx.c:
ol_tx_non_std_ll()
ol_tx_non_std_hl()
Change-Id: I29f334de30ab492f2ef6c422352d11c059e40f1b
CRs-Fixed: 1104125
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code in ol_cfg.c which is generating warnings
because not all public APIs have prototypes defined. Define the
missing prototypes for the following:
ol_pdev_cfg_attach()
ol_set_cfg_rx_fwd_disabled()
ol_set_cfg_packet_log_enabled()
Change-Id: I787d4d7954751cda2878229d1d8967e1c168f95c
CRs-Fixed: 1104124
Currently the qcacld-3.0 driver does not build cleanly when compiled
with the gcc -Wmissing-prototypes switch. One set of warnings is due
to the QCA_COMPUTE_TX_DELAY APIs not being exported properly. Address
the warnings by properly exporting these functions.
Change-Id: Ib0f8a43a4575caf5714709e7fab659aa0b6f3009
CRs-Fixed: 1103659
Update or add policy rules for new 3 port concurrency cases:
STA+STA+SAP
SAP+SAP+STA
SAP+SAP+SAP
Change-Id: I6ca605808f1de7f8d31ee9a2f05b88491319e6f2
CRs-Fixed: 1068000
Extend the wakelock stats to include all wakeup
reason counters. Included counters are:
wow_rssi_breach_wake_up_count
wow_low_rssi_wake_up_count
wow_gscan_wake_up_count
wow_pno_complete_wake_up_count
wow_pno_match_wake_up_count
propagation from qcacld-2.0 to qcacld-3.0
CRs-Fixed: 1097267
Change-Id: I2b95e294aae21fcf1e11b6b95a083268daa1acbd
The init version code change per north bound I/F
framewrok. Each individual component is supposed
to define its cfg80211 callback function and it
will do the code change accordingly.
Change-Id: Ib66085b7de91fb478d74cfa716ac50f6fead34a6
CRs-Fixed: 1098688
Propagation from qcacld-2.0 to qcacld-3.0.
Several Action frame categories are not processed in host and they
are not forwarded to supplicant either, but they are dropped in host.
These unprocessed action frames are forwarded to host by FW and
wake up host unnecessarily which leads to battery drain. With this fix,
host conveys FW the disallowed action frames list at HDD startup
so that the remaining frames can be dropped in FW itself thereafter
when under WoW mode.
Change-Id: I40b49d42df94085784c8f1d8321de0ee61473ae0
CRs-Fixed: 999114
After control path scheduler componentization CDS message buffers,
and message wrappers are no longer used hence remove them.
Change-Id: If6e915ffe27775511cb359adb704fa9e03653420
CRs-Fixed: 1107094
After control path scheduler componentization cds_is_mq_empty
API is no longer used hence remove it.
Change-Id: I6b90d185d4faad7a02fca1b784dfea9b08213005
CRs-Fixed: 1106123
After control path scheduler componentization cds_core_return_msg
API is no longer used hence remove it.
Change-Id: I66122b918f0b27236b2b5ca454e52b0de20b16ee
CRs-Fixed: 1106115
Host driver does not have access to agc register address space
and any attempt to read it leads to SNOC error. Remove AGC dump
related sub ioctls support.
Change-Id: I65d2152d5f03001e8473b365bd287cc71f3e5ffe
CRs-Fixed: 1104738
Legacy protocol engine already has a module name 'sch' rename
control path scheduler from sch to scheduler to avoid naming
conflict with protocol sch.
Change-Id: I94ce9aa5037aa75319aaad2287116462444c03f4
CRs-Fixed: 1105115
Without doing cdp_soc_detach, datapth interrupts
would fire after the driver is unloaded and the
handlers have been removed from memory.
Change-Id: Ifad17059fa6f4b5957533defccc3126c15e55360
CRs-Fixed: 1103147
WMI internally has flow control based on credit availability.
Remove redundant credit check from wma wow enable API as WMI
internally takes care for command queueing and draining based
on available credits.
Change-Id: I143270032175f0d0d3c2946ae46a97482a406869
CRs-Fixed: 1104182
Currently, driver has following errors while handling pre-cac adapter
1) If SAP start operation fails in upper mac layers like PE or WMA then
without checking status of operation, SAP/HDD layer notifies policy
manager to add the connection to its table.
2) Driver is doing hardware mode change first and then it does pre-cac
adapter open operation followed by starting the bss. If pre-cac
adapter open operation fails then nobody is reverting original
hardware mode change.
3) While doing CAC wait, If radar gets detected then driver is not
releasing interfaces mac address due to which sub sequent adapter
doesn't get valid mac address as driver has limited pool of mac
addresses.
4) LIM layer is populating some garbage SME session id as it is
releasing the memory before it access in case of any failure.
Add safety checks to avoid all above conditions.
CRs-Fixed: 1103673
Change-Id: Ie94af7783527e6c55490801b52898ec0c3208503
When softap mode comes up, hostapd provides OFDM/CCK supported rates
based on hardware mode and channel. If same softap changes channel
from 2G to 5G or 5G to 2G then provided hostapd rates become invalid.
To avoid above condition, use basic rates generated within driver while
doing softap channel switch operation.
Ignore hostapd rates when pre-cac adapter is generated to handle radar
detection as pre-cap adapter is temporary & its not actual adapter.
CRs-Fixed: 1103673
Change-Id: Iec4b79ad848dec560b8a44cbaaa320416be62cb1
Host is not handling new wake up reasons. Add changes to handle
various new wake up reasons and log them properly.
Change-Id: Ic4fa176be887971a5f2c18f39b22914814c5e08c
CRs-Fixed: 1103897
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code in nan_datapath.c that is generating warnings.
Fix these warnings by making the following functions static:
lim_ndp_delete_peer_by_addr()
lim_process_sme_ndp_initiator_req()
lim_process_sme_ndp_data_end_req()
Change-Id: I47d4d0801c9642c79edeb0298f3bd1ffcab38667
CRs-Fixed: 1103662
Currently the qcacld-3.0 driver does not build cleanly when compiled
with the gcc -Wmissing-prototypes switch. One set of warnings is due
to ol_tx_set_flow_control_parameters() not being exported properly.
Address the warnings by properly exporting this function.
Change-Id: Iec79c1684c74312fa121349c1d7f721666bf904a
CRs-Fixed: 1103127
Attach southbound interface. Each individual component is supposed
to define tx_ops and rx_ops function to attach with southbound.
Change-Id: I622a53ab76bc3bab3774e90569af53ad49b95053
CRs-Fixed: 1096553
Validating input for RSSI Delta for TDLS configuration in
the function wlan_hdd_tdls_check_config().
Change-Id: I74c00db19dc28f363fe4e349b2bd94440bfc9238
CRs-Fixed: 1102929
Platform driver takes care of power off sequence during the module
exit.
Do not invoke the pld_power_off during the unload sequence.
Change-Id: Ib6d2e192849076acb60e0e6ebbbb9e5ed5938c2b
CRs-Fixed: 1093190