Commit graph

2,975 commits

Author SHA1 Message Date
CNSS_WLAN Service
a06182082c Merge "qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_ipa.h" into wlan-cmn.driver.lnx.2.0-dev 2017-06-20 20:54:48 -07:00
Linux Build Service Account
5be8e86cc7 Merge changes I5d938601,I51d31046,Icdfc4937,I8e472338,I332add8c,I1061a37c,I1b0adc1d,I5b80583d,I67c975b7,I4c738b20,I9ffc3376,I39e704ca,Iae311bf0 into wlan-cmn.driver.lnx.2.0-dev
* changes:
  qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_cmn.h
  qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_flow_ctrl_legacy.h
  qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_flow_ctrl_v2.h
  qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_bus.h
  qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_raw.h
  qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_stats.h
  qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_peer_ops.h
  qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_mon.h
  qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_wds.h
  qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_tx_delay.h
  qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_host_stats.h
  qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_misc.h
  qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_pflow.h
2017-06-20 20:47:49 -07:00
Linux Build Service Account
94b93083a0 Merge "qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_ctrl.h" into wlan-cmn.driver.lnx.2.0-dev 2017-06-20 20:47:49 -07:00
Linux Build Service Account
04518d145d Merge changes I1a0c3be9,I75f5d440,I37b8edb7,I2385a73b into wlan-cmn.driver.lnx.2.0-dev
* changes:
  qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_cfg.h
  qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_tx_throttle.h
  qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_me.h
  qcacmn: Refactor wmi_unified_get_pdev_handle for target stop/start
2017-06-20 20:47:48 -07:00
Yun Park
3bac7297c0 qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_ipa.h
Fix Datapath kernel checkpatch warnings in cdp_txrx_ipa.h

Change-Id: Idcc988ee328cc43a15b5c0faa80592e8e4a462cf
CRs-Fixed: 2033691
2017-06-20 15:34:06 -07:00
Yun Park
21cd32f84e qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_cmn.h
Fix Datapath kernel checkpatch warnings in cdp_txrx_cmn.h

Change-Id: I5d938601fa176f3fb547e8db17b5b6c6410183e9
CRs-Fixed: 2033691
2017-06-20 15:34:05 -07:00
Yun Park
81e7dd6e20 qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_flow_ctrl_legacy.h
Fix Datapath kernel checkpatch warnings in cdp_txrx_flow_ctrl_legacy.h

Change-Id: I51d31046a7c75c05886c28b17191961e65cf9f98
CRs-Fixed: 2033691
2017-06-20 15:34:04 -07:00
Yun Park
3e6659845f qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_flow_ctrl_v2.h
Fix Datapath kernel checkpatch warnings in cdp_txrx_flow_ctrl_v2.h

Change-Id: Icdfc49379878ddefdaf21154e5a6a8e0d1eaa39e
CRs-Fixed: 2033691
2017-06-20 15:34:03 -07:00
Yun Park
27f5833d73 qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_bus.h
Fix Datapath kernel checkpatch warnings in cdp_txrx_bus.h

Change-Id: I8e4723388f56ebf034ef84763ebdf7b2905d8514
CRs-Fixed: 2033691
2017-06-20 15:34:02 -07:00
Yun Park
93ac388a49 qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_raw.h
Fix Datapath kernel checkpatch warnings in cdp_txrx_raw.h

Change-Id: I332add8c63898c868b29e783aea70460397bc4a4
CRs-Fixed: 2033691
2017-06-20 15:34:01 -07:00
Yun Park
e849caef8b qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_stats.h
Fix Datapath kernel checkpatch warnings in cdp_txrx_stats.h

Change-Id: I1061a37c94d09243fc4896afa072d6892e57342c
CRs-Fixed: 2033691
2017-06-20 15:34:00 -07:00
Yun Park
890328281a qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_peer_ops.h
Fix Datapath kernel checkpatch warnings in cdp_txrx_peer_ops.h

Change-Id: I1b0adc1da156a0b75dded82f0e2e20e2f0475917
CRs-Fixed: 2033691
2017-06-20 15:33:59 -07:00
Yun Park
f0e1c416c9 qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_mon.h
Fix Datapath kernel checkpatch warnings in cdp_txrx_mon.h

Change-Id: I5b80583da04ade9c9ed7c9cc993dd3f61d7c40c8
CRs-Fixed: 2033691
2017-06-20 15:33:58 -07:00
Yun Park
178b9f3ef8 qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_wds.h
Fix Datapath kernel checkpatch warnings in cdp_txrx_wds.h

Change-Id: I67c975b7d7f15b3145de41146d03c007d6dfb85b
CRs-Fixed: 2033691
2017-06-20 15:33:57 -07:00
Yun Park
1bd62b76d9 qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_tx_delay.h
Fix Datapath kernel checkpatch warnings in cdp_txrx_tx_delay.h

Change-Id: I4c738b201637981ddefaf4719730440299870643
CRs-Fixed: 2033691
2017-06-20 15:33:55 -07:00
Yun Park
7b648742b7 qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_host_stats.h
Fix Datapath kernel checkpatch warnings in cdp_txrx_host_stats.h

Change-Id: I9ffc337637d27ee3447889ec7f31d5f49b72fa1f
CRs-Fixed: 2033691
2017-06-20 15:33:54 -07:00
Yun Park
0d86d86e31 qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_misc.h
Fix Datapath kernel checkpatch warnings in cdp_txrx_misc.h.

Change-Id: I39e704ca820ef893f3fbcaefb25af6fc342b5396
CRs-Fixed: 2033691
2017-06-20 15:33:53 -07:00
Yun Park
9cd1ffa707 qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_pflow.h
Fix Datapath kernel checkpatch warnings in cdp_txrx_pflow.h

Change-Id: Iae311bf0450cf75029aba2d08901e557c905b752
CRs-Fixed: 2033691
2017-06-20 15:33:52 -07:00
Yun Park
29f74f1c97 qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_ctrl.h
Fix Datapath kernel checkpatch warnings in cdp_txrx_ctrl.h

Change-Id: I19a361cef8d2ace118c7e18754ba5986063c95dc
CRs-Fixed: 2033691
2017-06-20 15:33:51 -07:00
Yun Park
b0044b44b3 qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_cfg.h
Fix Datapath kernel checkpatch warnings in cdp_txrx_cfg.h

Change-Id: I1a0c3be9bd99e993ea61b062a6701231078df719
CRs-Fixed: 2033691
2017-06-20 15:33:50 -07:00
Yun Park
139de79c9e qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_tx_throttle.h
Fix Datapath kernel checkpatch warnings in cdp_txrx_tx_throttle.h

Change-Id: I75f5d4408d2616fd14078fff24a6a0954c73e62f
CRs-Fixed: 2033691
2017-06-20 15:33:49 -07:00
Yun Park
87adad0093 qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_me.h
Fix Datapath kernel checkpatch warnings in cdp_txrx_me.h

Change-Id: I37b8edb71b522e9c5f401a282f762eb4da00f6a6
CRs-Fixed: 2033691
2017-06-20 15:33:48 -07:00
Kiran Venkatappa
f13e82a3b2 qcacmn: Refactor wmi_unified_get_pdev_handle for target stop/start
Target stop and (re)start will free htc_handle and re-negotiate endpoint
ids. Change wmi_unified_get_pdev_handle to update htc_handle and
endpoint data in wmi_handle to reflect latest values.

Change-Id: I2385a73bd1d61a6f36db8bdaca4a22115f6bf68c
CRs-Fixed: 2062439
2017-06-20 14:06:35 -07:00
Nandha Kishore Easwaran
82ac62ecca qcacmn: Fix double free irq of external group interrupts
The irq entry for rx_err, rx_wdm_release, and reo_status
gets assigned for more than one context and this causes
double free irq during driver unload time. Fix the same

Change-Id: I197ee285e6eba5909dec3fa37677c13efce4765a
CRs-fixed: 2063981
2017-06-20 05:29:58 -07:00
Linux Build Service Account
fc77072c6e Merge "qcacmn: Define platform CACHE_LINE_SZ" 2017-06-20 01:20:34 -07:00
Linux Build Service Account
86230a188b Merge "qcacmn: Add changes for PN check in REO" 2017-06-20 01:20:33 -07:00
Linux Build Service Account
2f0bd1684c Merge "qcacmn: Sanity check on the incoming PTT cmd" 2017-06-20 01:20:33 -07:00
Manjunathappa Prakash
86287dcf2e qcacmn: Define platform CACHE_LINE_SZ
Add platform CACHE_LINE_SZ so that it can be used to roundup the data
structures.

Change-Id: Iec45f5747956d0797411f76c2fec1368a13e7d6d
CRs-Fixed: 2046852
2017-06-19 12:43:31 -07:00
Gurumoorthi Gnanasambandhan
ed4bcf8e9d qcacmn: Add changes for PN check in REO
Setup PN check in REO for Security mode.

Change-Id: I682cda20907b7f64ba18bfef9927b7f8d72d2b54
2017-06-19 12:43:30 -07:00
Selvaraj, Sridhar
d6789e55d3 qcacmn: Add min_candidate_rssi to wmi_per_roam_config structure
Add min_candidate_rssi to wmi_per_roam_config. This is added to
provide the configured min candidate AP threshold to fw to be used
for PER(Packet Error Rate) based roaming.

Change-Id: I6e0ae1ebe578bcd6d858e1d5252dead6e849d54a
CRs-Fixed: 2050039
2017-06-19 12:43:28 -07:00
Abhijit Pradhan
dc45ced7ba qcacmn: Fix DFS kernel panic
Panic:-
As part of component destory, DFS component resets ic member
But ic is deleted as part of MLME destroy before destorying
the DFS component.

Solution:-
Reset the ic variables before destroying the components.

Change-Id: I0b120b43b1f3e7d326876d9cf206f37f6ce74ce8
CRs-Fixed: 2060245
2017-06-19 12:43:27 -07:00
Tallapragada Kalyan
52b45a143a qcacmn: Add scatter-gather support in RX path
Add nbufs to frag_list of parent nbuf when ever we receive
multiple MSDUs spread across nbufs.

Change-Id: Iff7a5208408fa55306cb4137e97bc781e1e82a01
2017-06-19 12:43:26 -07:00
Nachiket Kukade
741073c18d qcacmn: Sanity check on the incoming PTT cmd
In ptt_cmd_handler(), validate that the command attribute is of
minimum allowed size. This prevents parsing of rogue command
format. Also add audit comment to express the intent why policy
table is not used while using nla_parse API.

Change-Id: Ia2da6c88245190aad9a00110059fd6dcfda8a9fa
CRs-Fixed: 2058353
2017-06-19 12:43:24 -07:00
Linux Build Service Account
6d4160ef67 Merge "qcacmn: Fix regulatory sanity issues" 2017-06-19 08:53:30 -07:00
Linux Build Service Account
56040b07b3 Merge "qcacmn: Regulatory database updates" 2017-06-19 08:53:29 -07:00
Abhishek Singh
af7e092d9a qcacmn: Fix connection failure with WEP AP
If AP was configured in WEP mode the scan module is not able to filter
the AP and thus connection fails.

Fix the logic due to which the AP was not filtered.

Change-Id: I03ee702875e867986e4bae635269a844914c8043
CRs-Fixed: 2057585
2017-06-19 00:45:55 -07:00
Ajit Pal Singh
c9f57df660 qcacmn: Move GO to STA channel to achieve SCC
Enable movement of GO to STA channel to achieve SCC.
This movement is controlled by the ini variable
"gWlanMccToSccSwitchMode" just as its done for SAP.

Change-Id: I50f9487aa26dfc359211699f3d46e7869cedca4b
CRs-Fixed: 2062450
2017-06-19 00:45:54 -07:00
Baila, Shashikala Prabhu
dea6948639 qcacmn: Fix regulatory sanity issues
FCC11_WORLD regdomain pair added for country MALAYSIA.

Change-Id: I2def0bf412acf99d1d0181db4d8b76633aa039a1
CRs-Fixed: 2057433
2017-06-18 23:30:12 -07:00
Baila, Shashikala Prabhu
6b89e77b3f qcacmn: Regulatory database updates
Update regdomain database to "Country Table Changes Submitted 2016-10-31"
regdomain spreadsheet. It includes the following changes:

* Create new regdomain APL16_World and assign it to Argentina.
* Assign APL15_WORLD to BAHRAIN and INDIA

Change-Id: I31241847f224402bc7f125b3ed64a12ebf76242c
CRs-Fixed: 2058078
2017-06-18 23:30:11 -07:00
Linux Build Service Account
a5fe5429ad Merge "qcacmn: Converge WMI beacon template cmd implementation" 2017-06-18 21:45:36 -07:00
Govind Singh
5a990aa2a7 qcacmn: Converge WMI beacon template cmd implementation
There are two implementation of WMI beacon template wmi cmd.
Remove redundant code by converging WMI beacon template
cmd implementation.

Change-Id: Icc9e1f5326c3197a7994ed10ea1ef6386edc7efd
CRs-Fixed: 2061681
2017-06-18 17:36:52 -07:00
Linux Build Service Account
2f93655d3e Merge "qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_stats_struct.h" 2017-06-18 16:33:33 -07:00
Yun Park
2bea1c5170 qcacmn: Fix Datapath kernel checkpatch warnings in cdp_txrx_stats_struct.h
Fix Datapath kernel checkpatch warnings in cdp_txrx_stats_struct.h

Change-Id: Ie651fcc26eac71349779fcfa5316a6c469c22853
CRs-Fixed: 2061338
2017-06-18 14:01:01 -07:00
Linux Build Service Account
f468418ef4 Merge "qcacmn: Fix SRNG low threshold setting in HAL" 2017-06-18 02:48:32 -07:00
Linux Build Service Account
52e6107cbb Merge "qcacmn: Use REO block resource only if required" 2017-06-18 02:48:32 -07:00
Karunakar Dasineni
335bbd1374 qcacmn: Fix SRNG low threshold setting in HAL
SRNG low_threshold setting should be in no. of dwords.

Change-Id: I9940f02936cff5947d2bae800ecf6d05b168e729
2017-06-17 15:47:22 -07:00
Karunakar Dasineni
4f886f3aa9 qcacmn: Use REO block resource only if required
HAL REO flush cache command should use block resource only if cache
blocking is requested.

Change-Id: Ie52634cdb9908e4dfa12495dfc3d87a9d5d54c0b
CRs-Fixed: 2057946
2017-06-17 12:24:12 -07:00
Linux Build Service Account
790b75d534 Merge "qcacmn: Reduce log level in RSSI_BREACH_MONITOR_CONFIG_CMDID" 2017-06-17 07:53:36 -07:00
Linux Build Service Account
a6f86837f6 Merge "qcacmn: Add a configure interface to get max_peers from OL_IF to DP" 2017-06-17 07:53:29 -07:00
Pamidipati, Vijay
6b0d2a800c qcacmn: Add a configure interface to get max_peers from OL_IF to DP
Currently max_peer value is hardcoded with DP wlan_cfg. This change adds
a generic interface to obtain a configuration parameter from OL_IF and
store in DP

Change-Id: Id437ab3bcd02fb1cbcbe8b56d55d19780af87066
CRs-Fixed: 2004658
2017-06-16 17:12:28 -07:00