提交图

1477 次代码提交

作者 SHA1 备注 提交日期
Mohit Khanna
b0886d6918 qcacld-3.0: Fix use of spinlock for pSchedContext->affinity_lock
In existing implementation, affinity lock is implemented as a spinlock.
The set_cpus_allowed_ptr API under the spinlock can cause the processor to go to
sleep. This is incorrect and causes a KERNEL bug when invoked.

Correct the issue by replacing spinlock with a mutex.

Change-Id: I844c19d18e6f71916592c4b35ff5f1a2b6cdbaa0
CRs-Fixed: 1046463
2016-07-28 15:35:03 +05:30
Arun Khandavalli
a96c2c08ec qcacld-3.0: refactor hdd_wlan_get_version to be adapter independent
hdd_wlan_get_version is invoked with adapter as a parameter, internally
in the function it is used to extract the hdd context.

Directly pass the hdd context to hdd_wlan_get_version so that it shall
be adapter agnostic and clean up the local variables for the camelcase
and hungarian notion.

Change-Id: I56a8eea67354f9516b974db74aa42fbad37592a0
CRs-Fixed: 1035792
2016-07-28 15:34:49 +05:30
Arun Khandavalli
2358d52766 qcacld-3.0: Create new wrapper function for setting fw params
Once the adapter is opened, various parameters set to fw.
Create a wrapper function which will send all these parameters
to FW.

Change-Id: I1c31e4e2ce17dd296a0555653aec6ff75abf71d0
CRs-Fixed: 1017335
2016-07-28 15:34:24 +05:30
Arun Khandavalli
7e857c39f8 qcacld-3.0: Create different functions for the (de)initializing adapter
Create new wrapper functions for initializing the modes of the adapter
for the station, ap and FTM mode.

Create wrapper functions for the de-initialization of the STA/SAP adapter.

Change-Id: Ic22aca5b3f8c4e5f3a1e4d8f60bf6f95bbfeee14
CRs-Fixed: 1017332
2016-07-28 15:34:11 +05:30
Arun Khandavalli
4b55da70d6 qcacld-3.0: Refactor hdd callback (de)registration into a single function
As part of "load once unload never" architecture, cds modules can
be opened and closed several times. Refactor the hdd callback registration/
de-registration into hdd_register_cb/hdd_deregister_cb which can
be invoked during the open/close of the modules respectively.

Change-Id: I2da9018ff2fa6188e61e007c896bc13e8fddcb7d
CRs-Fixed: 1026817
2016-07-28 15:33:50 +05:30
Arun Khandavalli
c811dccdac qcacld-3.0: Create ini config structures for cds
Update ini configuration parameters for cds modules in the driver,
this helps in avoiding layer violation of using the hdd context in
cds modules.

Change-Id: Iff149cc51ea5eacae4f84d83c51d0ed63834ba50
CRs-Fixed: 1026817
2016-07-28 15:33:17 +05:30
Vishwajith Upendra
2c27249b3c Release 5.1.0.22H
Release 5.1.0.22H

Change-Id: I3b20fe9b511e9009d2315374b8873e4bedf3936d
CRs-Fixed: 688141
2016-07-28 15:32:58 +05:30
Naveen Rawat
48f51d04e9 qcacld-3.0: Fix NPD of ies_local in csr_roam_join_handle_profile
In csr_roam_join_handle_profile variable ies_local is populated if input
argument result is not NULL. We cannot proceed to with roaming if IE parsing
fails, so abort roaming if input argument "result" passed to function
csr_roam_join_handle_profile is NULL.

Change-Id: I52c35a44598028115c48aff7827f3fc90bd48cb1
CRs-Fixed: 1038237
2016-07-28 15:32:46 +05:30
Naveen Rawat
b2109f61d4 qcacld-3.0: Add NPD check wma_set_wifi_start_packet_stats
Add NPD check after call to cds_get_context in wma_set_wifi_start_packet_stats

Change-Id: I69525bc15261cf6bf9ee525fc0517c3661506f44
CRs-Fixed: 1044864
2016-07-28 15:32:30 +05:30
Naveen Rawat
0733290617 qcacld-3.0: Do not start new connection if cfg80211 request REASSOC
Change return type of wlan_hdd_reassoc_bssid_hint to indicate REASSOC
request rather than success or failure of hdd_reassoc request. If this
function returns false, continue with connection else return status code
from the function.

Change-Id: Ib0f894d329146d11fe80995248e3b3c343fb7372
CRs-Fixed: 1046841
2016-07-28 15:32:12 +05:30
Naveen Rawat
05376ee6c0 qcacld-3.0: Check for LFR3 to call appropriate API in hdd_reassoc
In hdd_reassoc check for LFR2/LFR3 before calling appropriate API
for reassociation.

Change-Id: I40e7de6dbc093e93053c12d4628b543b32cece6b
CRs-Fixed: 1044268
2016-07-28 15:31:59 +05:30
Varun Reddy Yeturu
3e91dad283 qcacld-3.0: Use Reassociation during BSS Transition
This is qcacld-2.0 to qcacld-3.0 propagation

The BSS transition request is handled by the supplicant.
The supplicant upon receiving the request will issue a
connect request to the driver with a hint of prev_bssid
telling the driver to perform a re-association.
Use this hint in the driver and initiate a re-association.
While doing the re-association, there is no need to do a
scan if the target AP is already present in the scan cache.
Optimize the re-association code to not do a scan if not
necessary in this particular case.

Change-Id: Idf1a7058009a8d2082bc1742dca1364cf59c405b
CRs-Fixed: 1010596
2016-07-28 15:31:44 +05:30
Arif Hussain
74fc571c11 qcacld-3.0: Fix the Nss config issues in 160MHz
Currently pdev_nss is used to populate VHT and HT capabilities
causing STA to advertise  2NSS capabilities in peer assoc for 160MHz.
Populate the VHT and HT MCS based on Nss value of that session
and send the correct Nss values to FW to use appropriate rates in Tx.

Change-Id: If78e7d4fb2238c1e83ee4f8f71a9ace2fcaddfd9
CRs-Fixed: 1043757
2016-07-28 15:31:21 +05:30
Vishwajith Upendra
4a2e22862b Release 5.1.0.22G
Release  5.1.0.22G

Change-Id: Ie0106474bc3467a8c22e642d175b6dbf6bde7d35
CRs-Fixed: 688141
2016-07-28 15:30:32 +05:30
Kabilan Kannan
c89fe71651 qcacld-3.0: Fix memory allocation error in TDLS peer_assoc cmd
Memory allocation input is not validated correctly in
TDLS Peer assoc command, which triggers intermittent
failures.
Validate the memory allocation input to avoid
failures.

Change-Id: Ibd6fc4d62799783721acee7c9cc339ac6febd2e5
CRs-Fixed: 1044706
2016-07-27 22:59:20 -07:00
Service qcabuildsw
6f28105207 Merge "qcacld-3.0: Fix TDLS VHT channel width information" into wlan-cld3.driver.lnx.1.1-dev 2016-07-27 22:33:49 -07:00
Service qcabuildsw
ba28159d8e Merge "qcacld-3.0: Remove duplicate entry of the STA" into wlan-cld3.driver.lnx.1.1-dev 2016-07-27 22:33:47 -07:00
Kabilan Kannan
b76eff2ede qcacld-3.0: Fix TDLS VHT channel width information
TDLS VHT channel width information can be read from session
entry, but the value needs to be readjusted as per our
protocol stack implementation.
Add changes in the host driver to fix TDLS VHT channel width
information.

Change-Id: I8797b298e46213ace014557697a449ea4ae560b6
CRs-fixed: 1044693
2016-07-26 22:33:55 -07:00
Sandeep Puligilla
2eeaf6af91 qcacld-3.0: Remove duplicate entry of the STA
In AP+AP scenario, duplicate STA entry triggers assert at
firmware during the create peer.

Remove the stale entry of the sta before adding
a new entry in session.

Change-Id: I9837160b42f72aa53872a0c2814058c0576289d4
CRs-Fixed: 1043189
2016-07-26 22:33:46 -07:00
Service qcabuildsw
d575348ef7 Merge "qcacld-3.0: Call htc_can_suspend_link in wma_enable_wow_in_fw" into wlan-cld3.driver.lnx.1.1-dev 2016-07-26 15:12:47 -07:00
Houston Hoffman
77f0e34e8f qcacld-3.0: Call htc_can_suspend_link in wma_enable_wow_in_fw
wma_enable_wow_in_fw was passing the wrong handle to hif_can_suspend_link.
The wrapper function htc_can_suspend_link will properly extract the hif
context and forward the request.

Change-Id: I40f0c2301b686625ea58ef692f816856bbdcf06b
CRs-Fixed: 1045959
2016-07-26 14:36:58 -07:00
Service qcabuildsw
d8792eda53 Merge "Release 5.1.0.22F" into wlan-cld3.driver.lnx.1.1-dev 2016-07-26 11:31:34 -07:00
Service qcabuildsw
0e314de515 Merge "qcacld-3.0: Address 32 bit specific compilation issue" into wlan-cld3.driver.lnx.1.1-dev 2016-07-26 11:31:32 -07:00
Service qcabuildsw
c36661d86a Merge "Release 5.1.0.22E" into wlan-cld3.driver.lnx.1.1-dev 2016-07-26 11:31:06 -07:00
Service qcabuildsw
f66bf6ef06 Merge "qcacld-3.0: Add vendor ID and fix WMI command parameters" into wlan-cld3.driver.lnx.1.1-dev 2016-07-26 11:31:03 -07:00
Service qcabuildsw
43491abdd8 Merge "qcacld-3.0: Add vendor ID information in vendor command" into wlan-cld3.driver.lnx.1.1-dev 2016-07-26 11:31:01 -07:00
Service qcabuildsw
59e8af9b95 Merge "Release 5.1.0.22D" into wlan-cld3.driver.lnx.1.1-dev 2016-07-26 11:30:58 -07:00
Service qcabuildsw
081a9592e5 Merge "qcacld-3.0: Update target type definitions in fw common file" into wlan-cld3.driver.lnx.1.1-dev 2016-07-26 11:30:56 -07:00
Service qcabuildsw
550a52159d Merge "qcacld-3.0: Avoid NULL dereference in hdd_init_qdf_ctx()" into wlan-cld3.driver.lnx.1.1-dev 2016-07-26 11:30:54 -07:00
Service qcabuildsw
e85276fd75 Merge "qcacld-3.0: Prevent overread of UP to AC mapping table" into wlan-cld3.driver.lnx.1.1-dev 2016-07-26 11:30:51 -07:00
Vishwajith Upendra
4b00d988ca Release 5.1.0.22F
Release 5.1.0.22F

Change-Id: I692ab45ab8908ea56bea41c2327e2dced5ca8fd0
CRs-Fixed: 688141
2016-07-25 00:34:21 -07:00
Hardik Kantilal Patel
e9b97ea6ea qcacld-3.0: Address 32 bit specific compilation issue
Fixing 32 bit compliation issues due to improper print
format type.

CRs-Fixed: 1043823
Change-Id: I22330c4598532142f2c84636e7c890dcb4435e70
2016-07-25 00:33:48 -07:00
Vishwajith Upendra
c0c2dfb0c6 Release 5.1.0.22E
Release 5.1.0.22E

Change-Id: I65d01685fffd5874b3421e3e81669b3224cf8e41
CRs-Fixed: 688141
2016-07-24 19:16:59 -07:00
Peng Xu
4225c15300 qcacld-3.0: Add vendor ID and fix WMI command parameters
For P2P listen offload feature, add vendor ID information in wiphy
vendor command structure, also add missing data length assignment when
sending WMI command to FW.

Change-Id: Ia889d794cae156814056aeefdfdf339429bf1401
CRs-fixed: 1040310
2016-07-24 19:16:58 -07:00
Peng Xu
d222096dc8 qcacld-3.0: Add vendor ID information in vendor command
Add vendor information in wiphy vendor command structure.

Change-Id: I240b5d3158bde068e490dc80c2fa6d282789284c
CRs-fixed: 1040310
2016-07-24 19:16:56 -07:00
Vishwajith Upendra
5e22c78ffd Release 5.1.0.22D
Release 5.1.0.22D

Change-Id: I5f48d165ebdd46d107cca29ec8d77fbd8809eaca
CRs-Fixed: 688141
2016-07-22 18:35:33 -07:00
Krishna Kumaar Natarajan
4b5513783a qcacld-3.0: Update target type definitions in fw common file
Update target type definitions in fw common file. This change
set will fix the mismatch between host driver and FW.

Change-Id: I570fd928e720e9f7ce982fe87da383669f8a9105
CRs-Fixed: 1044264
2016-07-22 18:35:32 -07:00
Service qcabuildsw
980d5423e6 Merge changes I87f9c706,I11d15457,I4c8d9b28,I3996ce76,Idee37eb6,If3ba082b,I8263688a into wlan-cld3.driver.lnx.1.1-dev
* changes:
  Release 5.1.0.22C
  qcacld-3.0: Update correct authtype during connect
  qcacld-3.0: Changes to support wmi tx bundle completion
  qcacld-3.0: Enable LRO, NAPI, Fastpath
  qcacld-3.0: Kbuild: Enable LRO
  qcacld-3.0: Update handling of WOW packet buffer
  qcacld-3.0: CL 1546701 - update fw common interface files
2016-07-21 16:28:46 -07:00
Service qcabuildsw
489ce9fe43 Merge "qcacld-3.0: CL 1546483 - update fw common interface files" into wlan-cld3.driver.lnx.1.1-dev 2016-07-21 16:28:43 -07:00
Service qcabuildsw
28fddb332d Merge "qcacld-3.0: Fix assert in wma_rx_service_ready_ext_event API" into wlan-cld3.driver.lnx.1.1-dev 2016-07-21 15:31:02 -07:00
Service qcabuildsw
5517289868 Merge "qcacld-3.0: Check for NULL adapter returned from open_interface" into wlan-cld3.driver.lnx.1.1-dev 2016-07-21 15:31:00 -07:00
Service qcabuildsw
0ef04dd62f Merge "Release 5.1.0.22B" into wlan-cld3.driver.lnx.1.1-dev 2016-07-21 15:30:55 -07:00
Service qcabuildsw
19c9397ee0 Merge "qcacld-3.0: Teardown TDLS links when second vdev comes up" into wlan-cld3.driver.lnx.1.1-dev 2016-07-21 15:30:53 -07:00
Service qcabuildsw
b7ae7a0963 Merge "qcacld-3.0: change dfs_radar_found to atomic variable" into wlan-cld3.driver.lnx.1.1-dev 2016-07-21 15:30:50 -07:00
Service qcabuildsw
2f869155cf Merge "qcacld-3.0: Add vendor command for extra BSS information" into wlan-cld3.driver.lnx.1.1-dev 2016-07-21 15:30:48 -07:00
Service qcabuildsw
c4bdd869eb Merge "qcacld-3.0: Add BSS status caching" into wlan-cld3.driver.lnx.1.1-dev 2016-07-21 15:30:46 -07:00
Service qcabuildsw
eec666d66d Merge "qcacld-3.0: Fix start BSS failure" into wlan-cld3.driver.lnx.1.1-dev 2016-07-21 15:30:41 -07:00
Service qcabuildsw
a6a74235c4 Merge "qcacld-3.0: Fix NULL pointer dereference in csr_roam_join_next_bss" into wlan-cld3.driver.lnx.1.1-dev 2016-07-21 15:30:39 -07:00
Service qcabuildsw
2a522f6a26 Merge "qcacld-3.0: Fix uninitialised variable use" into wlan-cld3.driver.lnx.1.1-dev 2016-07-21 15:30:36 -07:00
Service qcabuildsw
b3277a2cbc Merge "qcacld-3.0: Fix null qdf_dev pointer in ramdump handler" into wlan-cld3.driver.lnx.1.1-dev 2016-07-21 15:30:34 -07:00