Add NDP command execution framework:
1) Define UCFG apis, that will be called from OS_IF layer
2) Define request proccessing functions to post to scheduler and callback.
3) Define request proccessing functions to post to serializer and callback.
4) Define functions handling activated, cancelled and timed out NDP req.
Change-Id: Ibc6fe32c65f8de0c24e0537f2eb538f806cf5284
CRs-Fixed: 2014795
Few components don't have vdev object but still they want to
receive scan envents on underlying pdev.
Change ucfg_scan_register_event_handler and
ucfg_scan_unregister_event_handler to accept pdev instead of vdev.
Change-Id: I5a7ea78b1470b89637d418de6b984e5d20007c9c
CRs-Fixed: 1095299
Fix passing NULL vdev object to object manager. Currently during unload
process, we are purging all the cmds in the cmd list. In this case
pointer vdev_id is passed as NULL since we wanted to clean up cmds
associated with all the vdevs. In wlan_serialization_purge_cmd_list()
vdev remains NULL in this scenario which results in an ASSERT in
wlan_objmgr_vdev_release_ref().
This change set will call wlan_objmgr_vdev_release_ref only if vdev is
not NULL.
Change-Id: I29a6114f4b5d9fcabe24b82f26defd8ab58cceec
CRs-Fixed: 2029580
The current iterate object API does not invoke operation on logically
deleted objects. The new API will invoke operation on all objects.
Change-Id: I7821dccf3ccb0c5d209e3bf27489fcb4bf99aef5
CRs-Fixed: 2028529
1) Implement lock free API for get peer
In DA UAPSD, get_peer API is invoked in ISR context, This is causing
system to get into deadlock, since the current get_peer() gets preempted
Lock acquire attempt is done in ISR context
2) Avoid invoking peer_release_ref() calls with peer_list_lock() acquired
as peer_release_ref can invoke peer destroy operation
Change-Id: I095ae12ced4201cdc68bda70c8e8dee6cfb2bb9d
CRs-Fixed: 2028529
In p2p_mgmt_tx ref count of peer is increased and then frame is
passed to wlan_mgmt_txrx_mgmt_frame_tx which again increase the peer
ref count. But the ref count is decreased only once when frame tx
complete is received. Thus peer is not deleted while vdev destroy
and as peer contain the ref count of vdev, vdev is also not
deleted.
To fix this Release peer ref count in p2p_mgmt_tx after
wlan_mgmt_txrx_mgmt_frame_tx.
Change-Id: I8e42b22559f3baf43fefd6183a079f9629efae3c
CRs-Fixed: 2028550
Object manager global context has a child pointer to PSOC object and
until all PSOC objects are not freed parent global object manager
context can't be freed.
Trigger panic if PSOC objects are found to be leaking at the time of
object manager global context destruction.
Change-Id: Ie07c308984d3c0397b8beaf0cfe75f3b5ec53cbe
CRs-Fixed: 2027166
Provides the public API to set/reset the NOL channel status in the
regulatory current channel list.
Change-Id: Ic04b55a88705c94aa2933ac402ba9c538147aecd
CRs-Fixed: 2002892
Fix the population of tx power. Also fix the WMI TLV processing
for regulatory channel list event. Also make sure correct
range enums are calculated for pdev range.
Change-Id: Iec9559c0ab4b2b5e52d0b0a3eb4a0e8d038dc791
CRs-Fixed: 2002892
4.9 ghz channels would be added when we do different channel
enumerations for different operating classes. Remove them now
to simplify the reg component logic.
Change-Id: Iceb199d5cc531a83b613101cdb61a78c9b0746c0
CRs-Fixed: 2002892
Object manager global context contains all child pointers to PSOC,
PDEV, VDEV and PEER. In case any child object is leaked in that
case do not free object manager global context to avoid memory
corruptions.
Change-Id: I490ce3a219ece3486d8a612de9132dd870e5bc7a
CRs-fixed: 2027166
Rename nan_utils_i.h to nan_main_i.h, because it is supposed to contain
few internal structures along with apis
Change-Id: I77e44c362f2a36c5b17bcaa62cb2f2124abf0245
CRs-Fixed: 2014795
The peer ref count needs to be incremented in the
mgmt_txrx tx_frame API.The decrement happens in the
tx_completion API.
Change-Id: I604150ce4d238ec84e24f2b8ba807d929860438e
CR's Fixed:2019110
The current channel list is now maintained at pdev level. Accordingly,
change the relevant public APIs to take pdev and not psoc as an argument.
Also add operating class public APIs and other public macros needed from
regulatory component.
Change-Id: I953d254c5c438fa0aacc8eed07bda1ce16b01912
CRs-Fixed: 2002892
The current channel list needs to be maintained at pdev level.
Compute the current channel list when a pdev is created.
Change-Id: I4922c2d2f9145fb5acfd694f7d2d364af8e676fa
CRs-Fixed: 2002892
This is a change to init and de-init P2P component in host common. Add
P2P component name in qdf trace.
Change-Id: I0a9d56afe851e3414bf860bed944c4e0fe661fbc
CRs-Fixed: 2006260
Emulation being clocked at lowest rate,
SCAN and serialization timers are modified to handle
these scenarios
Change-Id: Ia937930483dbcd0268fd2fe2d0393e49f09b215f
CRs-Fixed: 2009490
Update legacy fixes in new policy manager component:
1. Avoid race condition to get pcl while stopping P2P GO
2. Add 160/80+80 MHz support for STA mode
3. Fix SBS is set to true by policy manager in SCC mode
Change-Id: I161ebe382915a6d9eefd6b4e3e2158ff14ad02c1
CRs-Fixed: 2009818
Support rx p2p public action frame and extend the roc timer for
special frames. Also add scan requtest paramters when trigger scan
request.
Change-Id: I295bdcf9c5ff78320cbe600a483d245d38d05c06
CRs-Fixed: 2024412
Add event handler for WMI_REG_CHAN_LIST_CC_EVENTID.This handler
would be called from psoc_open object manager framework
initialization.
Change-Id: Icfd52fdb7056fdb77afdbd1be576d160719b7285
CRs-Fixed: 2002892
Add dynamic rules registration callbacks which needs to be registered
by each component during its initialization phase.
These callbacks are used for serialization component to determine
whether serialization request can or can't be honored.
Change-Id: I02000426527bc7611cb9bb1d0ee26f3c03d9f2d1
Add a legacy callback to get the type of a non connected vdev
needed by policy manager.
Change-Id: Id3622d5c808c8e0f3b24b257b5899f925dc36b1f
CRs-Fixed: 2009818
move crypto init from umac to cmn code
Move wlan_crypto_main.h file from src folder to
include folder
Change #if to #ifdef
Change-Id: I363d4b2e7b2c2fc3291f1dd5ef8a6f3837a82df5
Fix ketkey issue in sta mode
When setting group key for station address passed was
address of the sta node. corrected it to pass bssid.
Change-Id: I2eb98ec07029283df5b40c0440438857ac66cd22
There exists a wlan_vdev_reset_ospriv() method for vdev objects but
not a wlan_pdev_reset_ospriv() method for pdev objects, so define that
method.
Change-Id: I338bfbc1b036221dc828ba9f84e847cb8c0fd2e6
CRs-Fixed: 2024018
Include NAN component ID in umac common files. These IDs
will be used by NAN component for trace, object ref counting
purpose etc.
Change-Id: Ia831b38627cc02ee8f61e19f389abba0158a1d40
CRs-Fixed: 2014795