summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| | * | | | qca-cldnew: Disable scan pno by default in usbMing-yi Lin2014-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Scan pno is not supported in USB. By disabling it, we could avoid supplicant issuing schedule scan that is invalid. Change-Id: I1a1bbc363c24524f8db0d5444cccf393d7b8b32a CRs-fixed: 654468
| | * | | | qcacld: Updata FW ID parserYuanyuan Liu2014-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update FW ID parser due to FW format update. Change-Id: I03c348912ac0dc4688e4e8d24788ea66d78ad123 CRs-Fixed: 654008
| | * | | | qcacld: CL 917740 914039 - update FW interface debug log fileYuanyuan Liu2014-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add wal_suspend and wal_resume dbg id. Change-Id: Ibef0217b3532c09d8d2696a1b2a1291d7dd9c7d3 CRs-Fixed: 654780
| | * | | | qcacld: Fix dbglog messages for dtim updateManikandaraja Venkatachalapathy2014-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable logs to make the prints more self explanatory for easy debugging. Change-Id: I95b322a7e7023e527f0ed30cf5518edcdf26292d CRs-Fixed: 645284
| | * | | | qcacld: Fix for SAP not operating in VHT modeManikandan Mohan2014-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated the 11N fallback condition for the following case. If (ACS disable and selected channel < 14 or ACS enabled and ACS operating band is choosen as 2.4) AND if VHT in 2.4G is disabled: Then only fallback to 11N mode. Change-Id: Iee18d6bf68af9ff9332ea8eb3afcc394644f443b CRs-fixed: 655015
| | * | | | qcacld-new: Correct the assignment of tx powerAmar Singhal2014-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Correct the assignment of tx power when CUSTOM_REGULATORY is defined. CRs-Fixed: 654169 Change-Id: I14909dbcca9076b3a026683f8460e3e9cb5d075c
| | * | | | qcacld: Store WLAN driver version in a global variableRajeev Kumar2014-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Store WLAN driver version in a global variable for post processing in crash analysis tools. Change-Id: I8f5b87c0fae0c33e0cf5ca9f721108aef4427155 CRs-Fixed: 654888
| | * | | | qcacld: HDD: Update to reduce dbug print log levelManikandan Mohan2014-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated hdd_hostapd_select_queue to reduce the debug print log level. Change-Id: Ia2d12f723376d1d60792e8f22679f22bed3fef89 CRs-fixed: 651281
| | * | | | wlan: qcacld: remove too long and warning message occuredRandy Chiu2014-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When doing remove module on USB3.0 port,we can find remove time is longer than USB2.0.Warning message also occred after driver reload. We move warm reset in the begin of disconnect callback and do athdiag_procfs_remove once probe failed. Change-Id: I5dcef64719e08e955cdeb721b77d88a4729d1955 CRs-fixed: 654369
| | * | | | wlan: qcacld: After Reboot, driver load failRandy Chiu2014-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the qcacld driver load and do system reboot,it can not load driver again until unplug/plug. We add a register_reboot_notifier to do warm reset. CRs-fixed: 620420 Change-Id: Ibd8d9854ae344ea5ee4ebf7a49367a7c3a819b94
| | * | | | qcacld: Fix for WPS IE for Assoc Req in SAP modeKalikinkar dhara2014-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | correct AddnIE length to WPS IE for Assoc Resp in SAP mode Change-Id: I7c5e8236ae68f5bed807791a768d0d757dc819a0 CRs-Fixed: 640131
| | * | | | qcacld: Added debug log for WPS IE for Assoc Req in SAP modeKalikinkar dhara2014-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added debug log to detect the WPS IE present in Assoc Req frame from STA to SAP. Also to check WPS IE log is added in Assoc Resp in SAP mode. Change-Id: Ib69bbe4fcb30855e213ce4900ea77f27346317f1 CRs-Fixed: 640131
| | * | | | qcacld: CL 919680 - update fw common interface filesMushtaq A Mujale2014-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Multihop forwarding offload WMI changes Change-Id: I6bea4c935357b6a1972a5c6367a3f7b75285e3d4 CRs-Fixed: 654417
| | * | | | qcacld: CL 902637 - update fw common interface filesMushtaq A Mujale2014-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix to improve esco link in case of BTC scenario Change-Id: I0c11d6ee0c5c10b5659084eed8f3987d817ff002 CRs-Fixed: 654390
| * | | | | Merge "Merge remote-tracking branch 'origin/caf/caf-wlan/master'"Linux Build Service Account2014-04-25
| |\ \ \ \ \
| | * | | | | Merge remote-tracking branch 'origin/caf/caf-wlan/master'Pitani Venkata Rajesh Kumar2014-04-25
| |/| | | | | | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 1.0.0.99 QCACLD WLAN Driver * origin/caf/caf-wlan/master: (22 commits) Cafstaging Release 1.0.0.99 qca-cld: usb device build problem fix qcacld-new: x86 compilation error fix in __adf_os_mem_alloc_consistent qcacld: HDD: Fix memory leak in case of driver load failure qcacld: Fix for p2p interface not getting disconnected during band change qcacld: Add CFG INI item to disable packet log qcacld: Fix of memory leak for vdev request CLD: changes to receive unencrypted WAI frames. qcacld: wlan: Fix for RMC max action period bound check wlan: qcacld: dot11f.frms file wlan: Flush/filter temp scan results along with the main results wlan: Filter the scan results in case of abort due to band change qcacld-new: Fix skb buffer handle incorrectly in HIF/USB layer qcacld/txrx:Fix the race condition while accessing peer list qcacld:Fix memory leak in case of driver load failure qcacld-new: Fix intraBSS function in HL. wlan: Fix NULL check after dereference in wlan_hdd_cfg80211_scan Fixing Null pointer dereferencing on iface->handle qcacld: ipa: Release CONS resource while unloading qcacld-new: Do not expose UMAC internal reason code to HDD ... Change-Id: Id8ead5afdf401a1da8bad35f69e42745c8a52ce5
| | * | | | Cafstaging Release 1.0.0.99Pitani Venkata Rajesh Kumar2014-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cafstaging Release 1.0.0.99 Change-Id: I51ee0653f6aeac8dc267da9df509f73400a31957
| | * | | | qca-cld: usb device build problem fixLeo Chang2014-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | during sdio device integration, usb device compile error introduced. If interface type is not sdio default try to set as pci, as a result, usb also configured as pci. remove pci configuration with non-sdio devive. LL_TX_FLOW_CONTROL only enabled with pci device Change-Id: I42cd035b02bc80f7ced0ba6fe5684765114ded33 CRs-fixed: 652222
| | * | | | qcacld-new: x86 compilation error fix in __adf_os_mem_alloc_consistentMohit Khanna2014-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While printing the value of "size", of type "size_t" we need to use a proper format specifier. Otherwise it may give compilation error if the compiler flag "[-Werror=format]" is enabled. Format specifier "%zu" was used to fix the issue. Change-Id: I7d20efd10f76127b4c6c91d59b082f023bed2dd6 CRs-Fixed: 654155
| | * | | | qcacld: HDD: Fix memory leak in case of driver load failureKomal Seelam2014-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | adf context is not freed when driver load fails. Fix by freeing adf_ctx when driver load fail. Change-Id: I9976cc4540353a15063f4eb4905fa89e45a0c5e1 CRs-Fixed: 652190
| | * | | | qcacld: Fix for p2p interface not getting disconnected during band changeChandrasekaran, Manishekar2014-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the current code, only the STA interface is disconnected when the new band (2.4GHz/5GHz) set by the user does not match with the current band. This fix makes sure that the p2p interface is also disconnected in the above scenario. Change-Id: I534a2f99b93cf1484247dffc129fc52ecc6ee2dc CRs-Fixed: 650413
| | * | | | qcacld: Add CFG INI item to disable packet logRajeev Kumar2014-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are following 2 changes: 1) Add CFG ini item gEnablePacketLog to control packet log feature 2) And when packet log is enabled then disable ASPM(PCIe low power) Theory behind the change: ------------------------ These changes are required as a WAR to fix memory corruption issues which is caused by WMAC HW module hitting AXI stall during BT-Coex. There was an issue identified in wmac exposed when internal AXI stalls for some time. A couple of state machines go out of sync in wmac and if during this window a high priority BT request comes and abort wlan, a tag ends up interpreted as address results in wmac scribbling after the stall resolves. There were a couple of reasons identified causing the stall: a) Packet log is enabled which results in flood of Rx updates to be sent over to host. This needs to be disabled. For it host needs to update HTT_H2T_MSG_TYPE_RX_RING_CFG with disable all DMA options when packet logs is disabled from CFG INI file. b) PCIe L1SS resume delay which can be on the order of 125us. This is expected, but we should go to that mode when packet log is enabled. We need a change that disables all pcie low power modes when packet log is enabled. We haveve tested with disabling packet log as well as disabling pcie low power mode while packet log is enabled and confirmed that either resolves the issue. Change-Id: I3aa0c04ad9e3947b2147a25cd8198ebc65fc5f28 CRs-fixed: 652676
| | * | | | qcacld: Fix of memory leak for vdev requestRajeev Kumar2014-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Free allocated memory for vdev request before return when vdev id is invalid. Change-Id: Id9884395ea893ff3dc99f3c30bf47548115ead50 CRs-Fixed: 652754
| | * | | | CLD: changes to receive unencrypted WAI frames.Edhar, Mahesh Kumar2014-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WAI frames are unencrypted data frames which are sent as part of the unicast/musticast key negotiation frames. changes done to honor the same. Change-Id: I15e9b8913ddd65b4972121b83f35edfdea58d0fa CRs-fixed: 631754
| | * | | | qcacld: wlan: Fix for RMC max action period bound checkkrunal soni2014-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | we have applied the bound check for min value but we didn't apply the bound check for max value, so this will fix the bound check for max value. Change-Id: I4a8fad3eb4990515353174d891a92417d16c0873 CRs-Fixed: 646081
| | * | | | wlan: qcacld: dot11f.frms fileKrishna Kumaar Natarajan2014-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The dot11f.frms file will be maintained under CORE/MAC/src/cfg/cfgUtil/ Change-Id: I5e3b5ecffc790a960c08b7a42bdc2b29812d2aa6 CRs-Fixed: 647335
| | * | | | wlan: Flush/filter temp scan results along with the main resultsDasari Srinivas2014-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Flush the temp scan results along with main scan results in csrScanFlushResult(). This is required to flush the results completely, as the results are getting updated from temp list to the main list only after completion of scan. Filter the temp scan results based on valid channels list along with the main scan results in csrScanFilterResults(). Change-Id: I927948bb4b8b3be402ab67563587be8058ab2a35 CRs-Fixed: 649420
| | * | | | wlan: Filter the scan results in case of abort due to band changeDasari Srinivas2014-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The scan results need to be filterd based on the current band and valid channel list in case of band change, to avoid the connection with APs from non-selected band. If there is any ongoing scan, that scan can be aborted and the scan results needs to be filtered. Set a flag in the scan command in csrScanAbortMacScan() if the abort reason is eCSR_SCAN_ABORT_DUE_TO_BAND_CHANGE. Filter the scan results after the scan completion, based on that flag. Change-Id: Ia62334bd1184570ad68d57b9dc056e2caa048b37 CRs-Fixed: 649420
| | * | | | qcacld-new: Fix skb buffer handle incorrectly in HIF/USB layerKevin Fang2014-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HIF/USB layer pushed skb buffer when HIF/USB sending out. Pull this skb buffer back to make upper layer handle correctly. Change-Id: I28901fc1439c6a0ca172ea79b18b91744a460d74 CRs-Fixed: 651280
| | * | | | qcacld/txrx:Fix the race condition while accessing peer listGanesh Babu Kumaravel2014-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a race while accessing peer list from multiple contexts. So fix it by taking the peer_ref_mutex lock while accessing peer list in ol_txrx_peer_attach() as well. Change-Id: I9621727aac246720bf977ad71fc2fd79642a2831 CRs-Fixed: 652061
| | * | | | qcacld:Fix memory leak in case of driver load failureGanesh Babu Kumaravel2014-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Incase vos_open() failed after WDA_Open() we are not closing wmi service which is done as part of wma_wmi_service_close(). The memory allocated for interface is getting leaked. So fix it by closing the wmi service after WDA_Close(). Change-Id: I94df57e0d2f0f240d18c7c4f8423d6c344f27ae5 CRs-Fixed: 652521
| | * | | | qcacld-new: Fix intraBSS function in HL.Justin Shen2014-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently in USB driver, connect 2 STAs to GO DUT. STA can ping to AP directly but 2 STAs can't ping each other. GO DUT would not forward packet for its clients. Solution: In HL only, the htt_rx_ind_hdr_t header of RX packet needs to be removed before send to TX again. Change-Id: Icdb7a9a18e1737413eb000b588cec659645ed775 CRs-fixed: 651305
| | * | | | wlan: Fix NULL check after dereference in wlan_hdd_cfg80211_scanJeff Johnson2014-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Static source code analysis of wlan_hdd_cfg80211_scan() identified an instance of a pointer being checked for NULL after it had already been dereferenced. The pointer in question, "request", will always be non-NULL and hence the NULL checking should be removed. Change-Id: I8d06c253aee4d0714c465ddd7a212600c9d52441 CRs-fixed: 652031
| | * | | | Fixing Null pointer dereferencing on iface->handleDARAM SUDHA2014-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add wma_handle->interface check before calling TXRX APIs to delete the vdev CRs-fixed: 645394 Change-Id: I27379ce37289cf517b35f945b5887f6d0c9d4a06
| | * | | | qcacld: ipa: Release CONS resource while unloadingPrashanth Bhatta2014-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IPA RM CONS resource is not released while unloading WLAN driver resulting in failure when driver is loaded again. Added changes to release the resource. Also with this change enabling IPA RM and IPA V6 support by default. Change-Id: I1272b5c5ece84d6f012771d68c6180bf28338783 CRs-fixed: 652570
| | * | | | qcacld-new: Do not expose UMAC internal reason code to HDDMingcheng Zhu2014-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eSIR_BEACON_MISSED is an internal reason code and this reason code needs to be converted to standard code eCSR_ROAM_RESULT_NONE before calling the session callback to HDD. Change-Id: I3a9b5616ca5e18f19c6106695c5e3cc06bea9503 CRs-Fixed: 652026
| | * | | | qcacld:Update Rx Ring Buffer with Magic PatternGanesh Babu Kumaravel2014-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Filled Rx Ring Buffer with magic Pattern to differentiate between memory scribbling or DMA issue where DMA is not completed/not yet started at all on RX ring buffer and host received RX IND HTT message. Change-Id: Ifdbf8b45602e2bc84dcf0050db2f4a4dd01c19b3 CRs-Fixed: 651041
| | * | | | qcacld : Fix compilation errors when PNO is disabledAtul Mittal2014-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While PNO and ns offload are disabled from the Kbuild, there are compilation errors. corrected the same. Change-Id: I82acdf179a26cfef6f001c2691260d625dd9d232 CRs-fixed: 652224
| * | | | | Merge "Release 1.0.0.98 QCACLD WLAN Driver"Linux Build Service Account2014-04-24
| |\ \ \ \ \
| | * | | | | Release 1.0.0.98 QCACLD WLAN DriverAkash Patel2014-04-23
| |/| | | | | | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge remote-tracking branch 'origin/caf/caf-wlan/master' * origin/caf/caf-wlan/master: Cafstaging Release 1.0.0.98 Merge "qcacld-new: [HDD] QCMBR Linux platform support (QDART)." wlan: qcacld: fix wlan_hdd_cfg80211_change_iface() return values wlan: HDD layer logging enchancement phase-1. qcacld: Pick Nss based on the rate. wlan: Fix wlan_hdd_oem.c ioctls returning invalid status qcacld-new: disable TX queues when stopping the interface TDLS: make tdls and sme locks independent qcacld: Fix flag based case break in _wlan_hdd_cfg80211_change_iface qcacld: Change the cc given by userspace when 11d is disabled. qcacld:disable SAP auto channel selection feature by default qcacld: Fix Static Analysis errors Change-Id: Iea5aae53df92c9bc521a02966ff1606340c9e718
| | * | | | Cafstaging Release 1.0.0.98Pitani Venkata Rajesh Kumar2014-04-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cafstaging Release 1.0.0.98 Change-Id: Ic2496cf1b7a75b6bc1ee1dbbafae351d69b70c62
| | * | | | Merge "qcacld-new: [HDD] QCMBR Linux platform support (QDART)."ardong chen2014-04-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With QCMBR (QDART) support, the host driver needs to add the the related ioctl command and functions to let it can post/read the related commands and responses. Change-Id: Iba9ba83204e95b3f2a4516ea9f2002c620eb6d41 CRs-fixed: 627775
| | * | | | wlan: qcacld: fix wlan_hdd_cfg80211_change_iface() return valuesJeff Johnson2014-04-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The wlan driver registers wlan_hdd_cfg80211_change_iface() with cfg80211 as the change_virtual_intf method. This method should return 0 on success, and a negative errno value on failure. However due to various error reporting mechanisms used in the driver, it is currently possible for other values, most notably VOS_STATUS enumerations, to be returned. Update the driver so that only valid values are returned. Change-Id: I33100cc279626a3cb07c9666d86e6530f57a12e7 CRs-fixed: 650429
| | * | | | wlan: HDD layer logging enchancement phase-1.c_hpothu2014-04-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added logs which should get printed when some unexpected error happens.In this change, updating wlan_hdd_cfg.c,wlan_hdd_main.c wlan_hdd_cfg80211.c and wlan_hdd_dev_pwr.c. Change-Id: Ifdc50f6efd3923c46248e11ee8ac47b54e3aabd2 CRs-Fixed: 641063
| | * | | | qcacld: Pick Nss based on the rate.Mushtaq A Mujale2014-04-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check the rate table to find any 2SS rates and set the info to fw. Change-Id: I6cf89224e1eef6b9c145d795ee4e22ccb239368c CRs-Fixed: 651670
| | * | | | wlan: Fix wlan_hdd_oem.c ioctls returning invalid statusJeff Johnson2014-04-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An audit of ioctls revealed that the ioctl handlers in wlan_hdd_oem.c can, in some of the error cases, return invalid error codes. Make sure the ioctls return 0 on success and a negative errno value on failure. Change-Id: I9e740939646d48ce2e1c3f188432ed7bbbdd5634 CRs-fixed: 639778
| | * | | | qcacld-new: disable TX queues when stopping the interfaceMingcheng Zhu2014-04-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When stopping the adapter the TX path needs to be disabled. The current implementation only implemented this logic in function hdd_stop_all_adapters. In any other situations such as change interface the TX path is not disabled. This fix moved the disabling TX path logic from function hdd_stop_all_adapters to hdd_stop_adapter so that all adapter stopping use cases are covered. Change-Id: I414ed23bdf221b9c8cbda5b159a58f8a73cd63ca CRs-Fixed: 644597
| | * | | | TDLS: make tdls and sme locks independentRajesh Chauhan2014-04-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Acquisition of tdls lock after sme lock would result in a deadlock if the corresponding threads contend for each other. Hence make the tdls lock acquisition independent of sme lock Change-Id: I0d936dc4cca424c346fa99ce28a8cbf1c29626d6 CRs-Fixed: 647576
| | * | | | qcacld: Fix flag based case break in _wlan_hdd_cfg80211_change_ifaceKomal Seelam2014-04-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently switch case is break when the TDLS feature flag is set. Fix by breaking the switch case independent of feature flags. Change-Id: Ibbe4d6301868fa9b02400f29cfccb9bc0d6bbe64 CRs-Fixed: 651618
| | * | | | qcacld: Change the cc given by userspace when 11d is disabled.Sachin Ahuja2014-04-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, when STA is connected and gCountryCodePriority=0 then country code is not set as per given by userspace. Changes are done to set the country code as follows 1) If 11d is disabled, then change the country code given by user space 2) If 11d is enabled and gCountryCodePriority is set then change the country code given by userspace. Change-Id: I110f36df565e14ab9be47545addc215f73fe334f CRs-Fixed: 639996