Commit Graph

112 Commits

Author SHA1 Message Date
Abhijit Pradhan
21f852f52c qcacmn: Fill antenna gain in master channel list
Antenna gain is per regulatory structure. However we need it in
per channel during transmission. Firmware sends antenna gain per
regulatory rule. Host copies it to per channel structure.

Change-Id: Ia163f46facec03ccd450994acbeb28d1e9f2a111
CRs-Fixed: 2002892
2017-04-28 09:47:04 -07:00
Amar Singhal
c73c207412 qcacmn: Move public data structures
Move remaining regulatory public data structures to
reg_services_public_struct.h

Change-Id: I658d434c46989f90b527f7d6a8e5a4da032628f7
CRs-Fixed: 2002892
2017-04-20 15:45:06 -07:00
Amar Singhal
9749753a75 qcacmn: Add API to pass configuration settings
Add API to pass initial configuration settings to
regulatory component.The regulatory component would
re-compute initialization channel list when this API
is called.

Change-Id: I414ecd189c0879515bd9b3f07537b3143a5cb0ed
CRs-Fixed: 2002892
2017-04-16 15:58:36 -07:00
Amar Singhal
b4071431e9 qcacmn: Add new APIs to regulatory component
Policy mgr needs APIs for chan to freq and freq to chan APIs.
Add these APIs to regulatory component at pdev level.

Change-Id: I4a0cf2a4b02e16b81d24088c9e9b6c8d36ce6b6c
CRs-Fixed: 2002892
2017-04-14 13:53:36 -07:00
Kiran Kumar Lokere
54518924c3 qcacmn: Add public API to set/reset NOL channels in regulatory
Provides the public API to set/reset the NOL channel status in the
regulatory current channel list.

Change-Id: Ic04b55a88705c94aa2933ac402ba9c538147aecd
CRs-Fixed: 2002892
2017-04-03 13:47:16 -07:00
Amar Singhal
1fb9ce34b7 qcacmn: Change public APIs to pdev level
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
2017-03-30 23:23:31 -07:00
Amar Singhal
1b8762f7a6 qcacmn: Populate the current channel list by pdev
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
2017-03-30 23:23:30 -07:00
Amar Singhal
e407974144 qcacmn: Add the event handler for WMI_REG_CHAN_LIST_CC_EVENTID
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
2017-03-27 06:07:36 -07:00
Amar Singhal
9cab88d2ab qcacmn: Populate the master channel list from firmware
Process the message WMI_REG_CHAN_LIST_CC_EVENTID. This message is used to
populate the master channel list.

Change-Id: I96d8f7ff5f71a35686ba990175c4a37995bfa6b2
CRs-Fixed 2002892
2017-03-20 18:01:47 -07:00
Amar Singhal
7b56f8d67a qcacmn: Regulatory component public APIs
Add regulatory component public APIs

Change-Id: Idc8afaf1952e831a3a9917aeef796cb7dc466152
CRs-Fixed: 2002892
2017-03-20 18:01:46 -07:00
Amar Singhal
1fd82c6c58 qcacmn: Regulatory component registration
Register the regulatory component with obj mgr. Regulatory
component only needs to listen to psoc level messages.

Change-Id: I3d060d66cb7bac2912afb1301ef1960f8bd9c0ef
CRs-Fixed: 2002892
2017-03-20 18:01:45 -07:00
Amar Singhal
e2cc7069f5 qcacmn: Initial version of regulatory component changes
Define the regulatory component public APIs, private APIs and
initialization of the regulatory object

Change-Id: I536078592aa7e66e96d4dcab8efdedfd6fd03711
CRs-Fixed: 2002892
2017-03-20 14:29:22 -07:00