提交图

32 次代码提交

作者 SHA1 备注 提交日期
Govind Singh
e7f2f341d7 qcacmn: Add WIN changes to wmi_unified_tlv.c
Add changes made in wmi_unified_tlv.c to get basic control path
working with WIN driver on a tlv platform

Change-Id: I2044df3d452cd5f1c8659a8e61e343494c6228fb
Acked-by: kiranv@qti.qualcomm.com
CRs-Fixed: 1005778
2016-06-14 13:48:26 -07:00
Govind Singh
ecf03cdc6b qcacmn: Changes to converge WMI Recording feature
1.Logging of all WMI activities(commands, tx complete, events)
is adapted for WIN.
2. WIN and MCL continues to use existing approach of memory
allocation and it is managed using feature flag in common code.
3. Use debugfs for WMI event debugging.

example to read buffer through debugfs interface -
- Navigate to WMI directory under debugfs (/sys/kernel/debug/WMIx)
- It will display elements/files for all command/event buffers
- "cat wmi_command_log" (desired buffer name)
- Output will display something like this:
CMD ID = 16001
CMD = d 0 d8c6de24 e1cf
CMD ID = 16001
CMD = 8 0 0 0
CMD ID = 16001
CMD = d 0 d8c6de24 e1cf
CMD ID = 16001

Change-Id: I26895b480b9eaa400183c4667b9ac6980939cab9
Acked-by: Pratik Gandhi <prgandhi@qti.qualcomm.com>
CRs-Fixed: 1019979
2016-06-06 18:52:28 -07:00
Govind Singh
bca3b1bc52 qcacmn: Add support for WMI_PDEV_WAL_POWER_DEBUG_CMD
Add host support for WMI POWER DEBUG command to control mac_core power features
for run time debugging.

Change-Id: Ifc810b24222507f1445a84a54caa8aee5e815b38
CRs-Fixed: 1007598
2016-05-06 16:45:34 -07:00
Houston Hoffman
38e60923f0 qcacmn: Remove cds_api and wma_api includes
The inclues are not needed.

Change-Id: I874a511535fded52f346201b24f6d3174334b430
CRs-Fixed: 1003804
2016-05-04 21:10:40 -07:00
Manishekar Chandrasekaran
157a4de21d qcacmn: Replace soc level references of set mac config
Replace the WMI command WMI_SOC_SET_DUAL_MAC_CONFIG_CMDID
and event WMI_SOC_SET_DUAL_MAC_CONFIG_RESP_EVENTID with
WMI_PDEV_SET_MAC_CONFIG_CMDID and
WMI_PDEV_SET_MAC_CONFIG_RESP_EVENTID respectively since
the former are obsolete. The new WMI commands and events
additionally carry the pdev id.

Change-Id: I77eab3ead005bbb7f951ce7e077cd661813cb628
CRs-Fixed: 989502
2016-05-04 21:09:56 -07:00
Manishekar Chandrasekaran
1718378a88 qcacmn: Replace soc level references of set hw request and response
Replace the obsolete WMI command WMI_SOC_SET_HW_MODE_CMDID with
WMI_PDEV_SET_HW_MODE_CMDID and event WMI_SOC_SET_HW_MODE_RESP_EVENTID
with WMI_PDEV_SET_HW_MODE_RESP_EVENTID respectively. These new WMI
commands and events additionally carry the pdev id and all mac id
references are replaced with pdev id.

Change-Id: If2a3f93dcd1947eedce8d4eac8ed936166f7e078
CRs-Fixed: 989502
2016-05-04 21:07:32 -07:00
Govind Singh
4df471425b qcacmn: Replace mac_id with pdev_id in WMI PDEV commands
Replace mac_id with pdev_id for WMI pdev commands and
vdev start response handler to support multi-radio in
converged firmware. In order to maintain backward
compatibility with old fw, host needs to check
WMI_SERVICE_DEPRECATED_REPLACE service id in service
bitmap and needs to fill pdev id or mac id accordingly.

Change-Id: I7e6b40b4c0bd20e967dc0a383b480068e256486f
CRs-Fixed: 994415
2016-05-03 07:52:17 +05:30
Govind Singh
e7d9f3e887 qcacmn: Add non-tlv implementation in common wmi layer
WIN platform uses non-tlv implementation for host to
target wmi commands. Add support for non-tlv
implementation in common wmi layer.

Change-Id: I1f832695b0d41b521be6b18df0cad31aae11b6c9
Acked-by: Kiran Venkatappa <kiranv@qti.qualcomm.com>
CRs-Fixed: 1005778
2016-04-26 04:01:18 -07:00
Manishekar Chandrasekaran
8650851387 qcacmn: Replace WMI_SOC_SET_PCL_CMDID with WMI_PDEV_SET_PCL_CMDID
Replace the obsolete WMI command WMI_SOC_SET_PCL_CMDID with
WMI_PDEV_SET_PCL_CMDID. WMI_PDEV_SET_PCL_CMDID carries the weightage
for all the channels (preferred and non-preferred) in the same order
and length as that of the command WMI_SCAN_CHAN_LIST_CMDID. This is
in contrast to the command WMI_SOC_SET_PCL_CMDID which carries only
the preferred channel list.

Change-Id: I040f4307491d3242d2e9409dbbe8005c4b307bf5
CRs-Fixed: 989502
2016-04-25 23:00:58 -07:00
Krishna Kumaar Natarajan
3729261c96 qcacmn: Fix compilation error in WMA
qcacld-2.0 to qcacld-3.0 propagation.

Fix compilation error introduced due to change in WMI
interface structure definition changed by CL 1479065.

Change-Id: I83d50bc046961ab90bcfbb164d5d64296ff95d9f
CRs-Fixed: 865207
2016-04-20 15:48:44 -07:00
Houston Hoffman
b51680551b qcacmn: Enable station SMPS only if the session supported NSS > 1
If HT SMPS is enabled and if the session supported NSS > 1
then include SMPS IE in the HT capabilities of the association
and the reassociation management frame.Enabling SMPS with an AP
whose capability is only 1x1 will result in association/reassociation
request being rejected or an unexpected behavior. Send SMPS force mode
to FW to trigger SMPS action frame only if SMPS is enabled in the
INI. For dynamic antenna switch, the chain mask manager will send
the SMPS action frames.

CRs-Fixed: 931250
Change-Id: Ifff2ef2c8790994a68e676b8bba2fb03c21370d4
2016-04-15 15:04:43 -07:00
Gupta, Kapil
7e652921ab qcacmn: Add support for dense roam params in wmi layer
qcacld-2.0 to qcacmn propagation

In High dense environment roaming should be triggered early
at dense RSSI threshold which provide better throughput result.
Add support for dense roaming parameters to read from ini file
and send to FW with other roaming parameters

CRs-Fixed: 953579
Change-Id: Ia63bfdd1248b4507d988b019f07164a7c75566af
2016-04-14 18:27:09 -07:00
Siddarth Poddar
9500f2eeb4 qcacmn: Fix tlv formation of gtk offload command
Add gtk offload enable/disable macros and use them
while copy keys and replay counter.

Change-Id: Ifdd776bc0c567d6c815ab5cb3eb212a43889b5a5
CRs-Fixed: 987362
2016-04-04 09:50:25 -07:00
Govind Singh
67922e88bf qcacmn: Use QDF_STATUS instead of Linux return type in wmi layer
Replace Linux return type with QDF_STATUS to have uniformity
across common wmi layer.

Change-Id: I74730602c6b20fb240182afd7c6e5ec6b3fcfd55
CRs-Fixed: 987362
2016-04-04 09:50:14 -07:00
Govind Singh
ccb0c27aa0 qcacmn: Fix tlv formation of pno start command
Fix tlv formation of pno start command by adding the pno channel
prediction parameter in variable length tlv of pno start command.

Change-Id: I10274519eedf3d3cbcebfdc5e308fcf86bc2a804
CRs-Fixed: 987362
2016-04-04 09:49:57 -07:00
Himanshu Agarwal
712622fe81 qcacmn: Add tlv formation of key installation commands in common wmi layer
Move tlv formation of wmi setup key installation commands from umac to
common wmi layer.

Change-Id: I51250a9b1b6bb5aed06657b9f88f4659430f4c74
CRs-Fixed: 987362
2016-03-30 12:06:53 -07:00
Siddarth Poddar
aa0b9a4292 qcacmn: Fix tlv formation of vdev start command
Add channel info in tlv formation of vdev start command

Change-Id: I83164934978f6cac179e1e66c576549a732e356d
CRs-Fixed: 987362
2016-03-30 23:13:11 +05:30
Govind Singh
17c39b0457 qcacmn: Fix tlv formation of arp ns offload command
Fix arp ns offload command formation by removing the double
free of arp ns offload parameter structure.

Change-Id: I38d11c770f8e79d39f7593bcea3712ab07d34660
CRs-Fixed: 987362
2016-03-30 18:54:27 +05:30
Govind Singh
3419aea3a4 qcacmn: Fix tlv formation of Peer assoc wmi command
Fix TLV header length calculation and pass peer mac address in
wmi peer assoc command.

Change-Id: I025ad7564901cba583bd78bddf0ccfa5e894c751
CRs-Fixed: 987362
2016-03-29 15:20:30 +05:30
Himanshu Agarwal
0007b76bbd qcacmn: Add tlv formation of some wmi vdev commands in common wmi layer
Move tlv formation of wmi vdev start/restart commands from umac to
common wmi layer.

Change-Id: Id040983068ff610e68880dd5f503edf9b9c8cff9
CRs-Fixed: 987362
2016-03-17 11:22:37 -07:00
Himanshu Agarwal
c5e4d89e15 qcacmn: Add tlv formation of wmi roam scan commands in common wmi layer
Move tlv formation of roam scan related commands from umac to
common wmi layer

Change-Id: Ib582f09ccc90e29eeace1af1bfcd43e0ff1e5203
CRs-Fixed: 987362
2016-03-17 11:22:23 -07:00
Govind Singh
8b1466ecd7 qcacmn: Replace mac_id with pdev_id in common wmi layer
Replace mac_id with pdev_id, add vdev_id to peer commands/events
and change reserved0 to pdev_id in PDEV commands.

Change-Id: I2f659159fa2f0d023650eae68b6d3115aac379b0
CRs-Fixed: 983619
2016-03-16 16:42:02 +05:30
Govind Singh
b53420c1bb qcacmn: Adpat common wmi layer with QDF os abstraction
Adapt common wmi layer with converged os abstraction layer.
Remove references to non-converged header files from
wmi layer.

Change-Id: I3671a40604fa1a5f10a5a67106db33f382e0f335
CRs-Fixed: 983619
2016-03-16 16:42:01 +05:30
Govind Singh
a4836fdc6f qcacmn: Add tlv formation of wmi main commands in common wmi layer
Move tlv formation of wmi main commands from umac to
common wmi layer.

Change-Id: I010396bfc94020e1eee7baa3ab46b9a35b101b92
CRs-Fixed: 983619
2016-03-16 16:42:01 +05:30
Govind Singh
9ddd5169cd qcacmn: Add tlv formation of wmi init commands in common wmi layer
Move tlv formation of wmi init commands from umac to
common wmi layer.

Change-Id: I8511de51f341401b5ba64581ba0f6840cfee1590
CRs-Fixed: 983619
2016-03-16 16:42:01 +05:30
Govind Singh
20c5dacbf1 qcacmn: Add tlv formation of wmi feature commands in common wmi layer
Move tlv formation of wmi feature commands from umac to
common wmi layer.

Change-Id: I1674606573c9145fa235191bf1ef798bd26a63ce
CRs-Fixed: 983619
2016-03-16 16:42:01 +05:30
Govind Singh
4eacd2ba12 qcacmn: Add tlv formation of wmi scan roam commands in common wmi layer
Move tlv formation of wmi scan roaming and management commands from umac to
common wmi layer.

Change-Id: I99b2651c0054d03e58da697ab7b902b5629eeb4a
CRs-Fixed: 983619
2016-03-16 16:42:01 +05:30
Govind Singh
17a9cfae00 qcacmn: Add tlv formation of wmi data commands in common wmi layer
Move tlv formation of wmi data-path commands from umac to
common wmi layer.

Change-Id: I6994103441997935a82464b0e195597305a09557
CRs-Fixed: 983619
2016-03-16 16:42:01 +05:30
Govind Singh
2edc80f080 qcacmn: Add tlv formation of ocb commands in common wmi layer
Move tlv formation of wmi ocb/dsrc commands from umac to
common wmi layer.

Change-Id: I2735b40b97b8ff120e37e343fc6f3681cd0d73f9
CRs-Fixed:983606
2016-03-16 16:42:01 +05:30
Govind Singh
427ee5a914 qcacmn: Add tlv formation of wmi power commands in common wmi layer
Move tlv formation of wmi power commands from umac to
common wmi layer.

Change-Id: Ie1940d8fafad600e8c245f24beec9e33c6bb6b54
CRs-Fixed: 982337
2016-03-16 16:42:01 +05:30
Govind Singh
d3156ebc2a qcacmn: Add tlv formation of scan commands
Add tlv formation of scan related commands to common wmi layer.

Change-Id: If7fd18f43cb8b7bad6779bc883bf2ba9395f7c6d
CRs-Fixed: 982330
2016-03-16 16:42:01 +05:30
Govind Singh
5eb515326f qcacmn: Add tlv implementation of common unified API
Add common unified API and tlv/non-tlv callback wrappers.
Add tlv implementation of common MCL/WIN API.

CRs-Fixed: 978603
Change-Id: I7e70b48ef5e1df0c0f81c639579e6eb1a6685dc3
2016-03-16 16:23:00 +05:30