summaryrefslogtreecommitdiff
path: root/CORE/SAP (follow)
Commit message (Collapse)AuthorAge
* qcacld: DFS: Update to send DFS event to UserspaceManikandan Mohan2014-04-17
| | | | | | | | | For DFS user notification, sw is updated for sending netlink events on CAC start, CAC End and RADAR Detect event. Extended the existing netlink messaging framework for these DFS events Change-Id: I27d4224c81b4e2c016601a17f4cd90513e9af1e2 CRs-fixed: 650546
* wlan: Logging enhancement for connect and start bss pathWilson Yang2014-04-12
| | | | | | | | | Added info logs for connection indication to nl80211 and enabled error log in start bss path during SAP disconnection. Change-Id: Iac2488e1d16a765899ac9f1361ee546115d6fc40 CRs-Fixed: 641003
* qcacld: SAP is able to select channels marked as unsafe.Xun Luo2014-04-10
| | | | | | | | | | | | | | If channel no. 14 is present in the 20Mhz scan list the algo is not able to populate channels higher than 14. If SAP scan results are NULL, SAP is able to select unsafe channel(1st channel from the sapContext->channelList). Adds the logic to process channel higher than 14. Populate the SAP scan list(sapContext->channelList) only with safe channels, so if scan result are NULL, it will only select safe channel. Change-Id: I4cbe5fdf304dc25bab0e05fa5dda3f31bbaf3d4b CRs-Fixed: 643404
* qcacld: wlan: Update for MCC to SCC auto switchManikandan Mohan2014-04-10
| | | | | | | | | | | | MCC to SCC auto switch feature is needed when operating channels of the virtual interfaces interfere with each other due to MCC techniques used. This feature is applied to SAP interface to change its operating frequency to that of station for STA-AP or previously initiated SAP1 for AP-AP based on operting channel and bandwidth. Change-Id: I4ff8942e322032959519ab12b56359a01431aaf1 CRs-fixed: 644806
* wlan: qcacld: Complete PMF (802.11w) support for Soft APkrunal soni2014-04-09
| | | | | | | | | | | | | | | | These changes complete Protected Management Frames (802.11w) support for the device in Soft AP mode. The changes allow support for this feature without any changes needed in hostapd or the cfg80211/nl80211 interface. Support is completely done within the driver. Note: dot11f.h and dot11f.c changes are already merged via clean up gerrit for this project. CRs-Fixed: 645347 Change-Id: I267ae701d9a3e7a6fc0276dd1c226ed1cc700461
* qcacld:sap: Fix HT40/80 support in ACSPeng Xu2014-04-07
| | | | | | | | | | Current ACS algorithm only deals with HT20 channels. Added weight calculations for HT40 and HT80 channels when AP is brought up in 11n and 11ac mode. This also fixed getting correct phyMode for SAP. Change-Id: I44f004abf467baeaca10ffced8ce65abf0d1814b CRs-fixed: 631601
* qcacld: Fix x86 build error in sapFsmYun Park2014-04-05
| | | | | | | Fixed x86 build error in sapFsm which caused by the cast from pointer to integer of different size Change-Id: Ibc4cadd288cf7db4d58de2f251364969f9efa0c5
* qcacld: Limit the StaIdx from 41 to 33 in TXRX module.Sachin Ahuja2014-04-03
| | | | | | | | | Currently TXRX module assigns the StaIdx till 41.So when user gets the STA info using get_sta_info some STA's are seen with StaIdx greater than maxNumPeers that can be connected.Fix that. Change-Id: I58d38de3f6d390a5f52fe168dc9fc537f4bf85eb CRs-Fixed: 639800
* qcacld: Change for AP+AP supportYun Park2014-04-03
| | | | | | | | | | | | | This change is to support 2 SAPs concurrently; Primary and Guest AP. The 2 SAP device concurrent operation is achieved by having two virtual interfaces functioning over a single physical interface. The OS IP stack and other applications will see the virtual interfaces as individual interfaces. Each AP operates with different security modes This feature is enabled by defining WLAN_FEATURE_MBSSID Change-Id: Iec27177669793ffcb02d22c85ca8b48012528c84 CRs-fixed: 639219
* qca-cld:sap: Add support for channel 14 in ACSPeng Xu2014-04-02
| | | | | | | | In 802.11b mode, channel 14 should be included during ACS. Added channel 14 in the list of available channels. Change-Id: I5d57ec9518a544c44e2eef68b5b46c7e46f4632f CRs-fixed: 641125
* qcacld:sap: Fix compilation error on x86Peng Xu2014-03-28
| | | | | | | Fix compilation error on x86 platform due to undefined compilation flag. Change-Id: Id560fcb59efb65bd05612abedea463cfe1e064b5
* qcacld:SME_PE: Fix for issues reported by Static AnalysisKalikinkar dhara2014-03-27
| | | | | | | | Fix for issue reported by static analysis like, possibility of buffer over flow, array index out of bound etc. Change-Id: Ib8324b67f433a4c1081e404a19e93a9077d4f676 CRs-Fixed: 637716
* qcacld:sap: Fixed compilation error for x86Peng Xu2014-03-26
| | | | | | | Code was placed inside wrong comiplation flag which caused compilation error on x86 platform. Change-Id: I75b1a0938313cf287be45af92cf258982dffbe84
* qcacld:sap: Add HT40/80 support in ACSPeng Xu2014-03-26
| | | | | | | | | Current ACS algorithm only deals with HT20 channels. Added weight calculations for HT40 and HT80 channels when AP is brought up in 11n and 11ac mode. Change-Id: I018bd7b8268bcc7085e69a3f7bf5518ef307b22e CRs-fixed: 631601
* qcacld:sap: Add support of channel 12-14 in ACSPeng Xu2014-03-26
| | | | | | | | Current ACS does not consider channel 12 -14 when calculate channel weightage. Added support for channel 12-14. Change-Id: Ia875194e710d732e00a62cd8fad759c51c69572f CRs-fixed: 632243
* qcacld:sap: Add scan band preference thresholdPeng Xu2014-03-26
| | | | | | | | | Current ACS implementation does not have the capability of switching scan band when the environment is noisy. Added configurable weight threshold to trigger AP scan next band for choosing best channel. Change-Id: I75c80728e1f0db18f2ab5fd264c96212b16d0132 CRs-fixed: 624836
* qcacld: Fix Sessionid mismatch in DFS commandsRakesh Sunki2014-03-20
| | | | | | | | | | | Fix session ID mismatch between SME and PE during STA+AP single channel concurrency mode operating on DFS channel. BSSID is passed from SAP context as part of all DFS commands from SAP and the respective session entry in PE is identified using BSSID rather than using session ID. Change-Id: I280ca07fef8d21801262a6b96054971a7a78b0d3 CRs-Fixed: 624973
* qcacld: hdd: Update session ID in HDD for SAP modePrashanth Bhatta2014-03-19
| | | | | | | | | | | | | | Since SAP module opens the SME session ID, session ID in HDD context may be uninitialized. Most of the IOCTL for SAP mode use session ID in HDD context. In standalone SAP mode, if ACS is enabled then SAP module opens a new session. IOCTL in SAP mode works if ACS is not enabled because of the initialized session ID in HDD when driver is brought-up. Update the HDD session ID in SAP mode when START_BSS event is posted from SAP to HDD module. This way HDD and SAP can be in sync w.r.t session ID. Change-Id: I5f9d92c85d1e138a7618c042b5453a8d80812d60 CRs-fixed: 629983
* qcacld:sap: Add scan band preference in INI configPeng Xu2014-03-16
| | | | | | | | Add scan band preference parameter in INI config file to enable scanning start from the preferred band during auto channel selection. Change-Id: I59a7b72035ee72baa69f8828a35d9bfcdc274908 CRs-fixed: 627704
* qcacld: Fix issues found by static code analysisSrinivas Girigowda2014-03-16
| | | | | | | Fix the issues reported by static code analysis tool Change-Id: I3249a946def3d066d8c6832bc3d279f45fd2a88f CRs-Fixed: 631968
* qcacld: sap: Optional channel restriction for ACSPeng Xu2014-03-07
| | | | | | | | | | | | | For AP auto channel selection, user can specify only specific channels are allowed. The parameter is defined in INI file: e.g. gOnlyAllowedChannels=5,1,6,11,36,161 The channel list is a comma separated string, with the first number being the total number of channels. The auto selected channel will be checked against the specified channel list. Change-Id: I32c42b17de95e2efa3281a9334a3fdbc958ec131 CRs-fixed: 625745
* qcacld: sap: Make overlap channel restriction optionalMing-yi Lin2014-03-06
| | | | | | | | | FR18644 ruested to lift restriction on overlap channel optionally when ACS is used. Add a ini value to provide this option. Change-Id: I8be627d7726cba16eae1a0ce6e11ca20428c537b CRs-fixed: 626272
* Support to select a channel in the entire 5Ghz bandLeela Venkata Kiran Kumar Reddy Chirala2014-03-04
| | | | | | | | | In the current ACS algorithm to select channel for SAP operation there is no support to select any channel in the entire 5Ghz band this commit adds support for that. Change-Id: Iacb82800d3de5a041d12afa29947169e0f600eb3 CRs-fixed: 616591
* qcacld: CORE/SAP cleanfileJeff Johnson2014-03-03
| | | | | | | | Run CORE/SAP through kernel/scripts/cleanfile to remove whitespace that is inconsistent with the Linux Kernel coding standard Change-Id: Ib82049075de66acf626000a05fafdc84c333081d CRs-fixed: 619495
* qcacld:sap: Fix AP not come up when medium cleanPeng Xu2014-02-28
| | | | | | | | | | When ACS is enabled, if the environment is clean and no othher AP is present, the scan result will be NULL. The current implementation treat this case as error which leads to AP could not come up. This is fixed by selecting a channel specified within the range. Change-Id: I01b1fa4adfb6ea98474d87b933a78997e548b642 CRs-fixed: 616556
* qcacld: provide timing measurement info in p2p peer status indicationRajesh Chauhan2014-02-18
| | | | | | | | | | Provide timing measurement capability of a peer in P2P peer status indication to OEM application. Timing measurement capability of a peer is extracted from Extended Capability IE in Association Request/Response frames. Change-Id: If9b277f04b8d66f4b46d518b2057b45590e9fca6 CRs-Fixed: 609126
* wlan: MAC Address Logging Fix.Arif Hussain2014-02-07
| | | | | | | Use pre-defined macro's to log MAC addresses. Change-Id: I1884ad5ee049a247b51a35a9a6687f318585aeae CRs-Fixed: 573100
* wlan: MAC Address Logging Fix.Arif Hussain2014-02-07
| | | | | | | | Use pre-defined macro's to log MAC addresses, Updating macro's in few more places. Change-Id: Id5c36c7bd1061147b4c0e9ccc5d8879223a25ba1 CRs-Fixed: 573100
* Match Copyright and License to CafStaging dev branchPrakash Dhavali2014-02-05
| | | | | | | | | | | | | Match Copyright and License Strings of master branch to that of cafstaging so that standard git merge/patch commands are transparent as code flows from one branch/repository to other. This helps automaton and also can be used to alert if any issues are found. Fix trailing whitespace issues and cfg.txt format. Remove wrongly concatenated long lines from stripped copyright paragraph. Fix additional trailing white-space issues exposed from old files. Change-Id: I765c6f01014b0cbb83b971da21324b84d4357ed4
* qcacld: sap: Scan band preferencePeng Xu2014-01-31
| | | | | | | | | | | | | | | | | | | | | | | | For AP auto channel selection, customers should be able to: 1.Only choose 2.4G for scan 2.Only choose 5G for scan 3.Scan both bands a.Start with 2.4G, if ACS detects a suitable channel, setup SoftAP in 2.4G itself do not waste time scanning 5G b.Start with 5G, if ACS detects a suitable channel, setup SoftAP in 5G itself, do not waste time scanning 2.4G Two iwpriv commands are added to set and get scan band preference. When scan preference is set, the preferred band will be scanned first, if a channel is selected then the scan is finished, otherwise the next band will be scanned. Command format: iwpriv wlan0 scan_band_pref <0|1|2> 0 --- no preference, 1 --- prefer 2.4G band 2 --- prefer 5G band iwpriv wlan0 get_scan_pref Change-Id: Ifde9a49f281935bbc141d5a8979f1ca63adabc23 CRs-fixed: 586970
* wlan: make SAP module 64 bit cleanSanjay Devnani2014-01-31
| | | | | | | | | fixing compiler error for the SAP module by explicit type-casting for the output of a ternary operator. CRs-fixed: 582062 Change-Id: Iaba6df91148bc1b2d3f43df0094de0885b1ebc33
* wlan: Fix for Statis analysis errors in SAP modulekrunal soni2014-01-28
| | | | | | | | It will fix all critical errors reported in SAP module by statis analysis tool. Change-Id: I46a01e07af1bd3a89d6b7609460f1b470d3f5556 CRs-Fixed: 606616
* Fix the incorrect channel number for DFS CAC timeout check.Kiran Kumar Lokere2014-01-26
| | | | | | | | | | Check the SAP current channel number for DFS CAC time instead of checking for the DFS target channel, DFS target channel do not have any value when SAP started on DFS channel, it will have valid channel number only when DFS channel switch happens. Change-Id: Ib02becf35afcbe5bacb05d192aacafd216c11601 CRs-Fixed: 599745
* Disable DFS channel CAC in test mode when radar is detected.Kiran Kumar Lokere2014-01-26
| | | | | | | | Test mode is intended only for radar detection, DFS channel switch and DFS channel CAC should not be done in test mode. Change-Id: I987a31d1f3a2688e4191a26ef9bb7bc4982f4549 CRs-Fixed:
* Unsafe use of Assert on MAC-SME modules.Praveen Kumar Sirisilla2014-01-26
| | | | | | | | | The CR identifies improper use of vos assert.At some places NULL pointers are asserted but no action is taken.This patch fixes such issues. Change-Id: Ia997c6c7bf758a508d17c8d6a510ced6049e7492 CRs-Fixed: 589661
* Fix SAP channel width issue after DFS channel switchKiran Kumar Lokere2014-01-26
| | | | | | | | | Fixes SAP channel width issue when DFS channel switch happens. SAP was coming up with 20MHz channel width after DFS channel switch happend. Change-Id: I8866a61fff5e6eb1e42fc458366a92e2f91b2345 CRs-Fixed: 600131
* Add support for SAP DFS channels NOL listRakesh Sunki2014-01-24
| | | | | | | | | | When there is a radar indication on a DFS channel, blacklisting the channel to not allow SAP operation for 30 minutes from the time radar detection happens. Also, fix SAP picking random channel 0 as part of radar Indication. CRs-Fixed:598910 Change-Id: I40eb3675034fd18884132f3552830baad26594fc
* Fix the CAC timeout value for ETSI reg domainKiran Kumar Lokere2014-01-24
| | | | | | | Fix the CAC timeout value for ETSI domain wether channels. Change-Id: I07529f2b8c463bb7e55c266d6a2117f8fcacb87c CRs-Fixed: 600104
* qcacld: Add knob to disable DFS channel switchKiran Kumar Lokere2014-01-18
| | | | | | | | | Disable channel switch using config parametet to support CST tests. When enabled, SAP will remain on the same channel even after radar is found. Change-Id: Ib5ecfdea07f0a4f3832b85dcde0ef4248bfd1828 CRs-Fixed: 598216
* wlan: SAP DFS Fixes for successful radar detectionRavi Joshi2014-01-17
| | | | | | | | | | During unit testing it was observed that the FW is not delivering phy errors along with radar events. The host needs to indicate the FW regarding operation on DFS channel to enable the PHY error filters. . Change-Id: Ia4f72c606b824790289a5974a13c99d0d669b8c7 CRs-Fixed: 589876
* wlan: DFS Support for SAP - CSA IE advertisement in BeaconsRavi Joshi2014-01-16
| | | | | | | | Add support for advertising CSA IE in beacons and probe response frames for SAP. . Change-Id: If086413ba0138b12d4a4723ae1354557f7f57eb6 CRs-Fixed: 589876
* wlan: ROME DFS Changes on branchRavi Joshi2014-01-16
| | | | | | | | | Implements DFS Channel Change for SAP in addition to Radar Indication, random channel selection, SAP States for CAC, partial changes for start beacon Indication. . Change-Id: I6b62e797b3c104ba716697d2bb2441aa5fccca7c CRs-Fixed: 589876
* Release 4.0.0.68Prakash Dhavali2014-01-08
| | | | | Release 4.0.0.68 to override previous 4.0.0.62B as this includes switch from internal dev branch of qcacld-2.0 to qcacld-new
* Release 4.0.0.62BPrakash Dhavali2013-12-29
| | | | | | Add Release 4.0.0.62B next set of changes. These are additional changes on top of 4.0.0.62/62A that were changed between qcacld-2.0 and qcacld-new switch-over.
* cld: Fix country code while starting bssRajkumar Manoharan2013-12-06
| | | | | | | | | | | | While starting BSS, the country code is fetched from country IE of beacon template. In case of P2P GO or when there is no country IE in beacon, country code never be filled in bss config. The invalid country code is passed to CRDA to fetch regdomain which would fail always. start bss is blocked until the request to CRDA got timedout. Fix this by setting regdomain only when 11d is enabled. Change-Id: Ia8464c929e5b7fbe89401711e766f0c2e4918009 CRs-fixed: 575588
* cld: sap: fix cbmode on concurrency modeRajkumar Manoharan2013-11-19
| | | | | | | | | | | | In SAP, cbmode is calculated either in start_bss for static channel or in scan completion for ACS. In case of STA-SAP concurrency, when SAP is started after the station is associated, SAP always selects STA channel irrespective of static or ACS mode. But channel bandwidth is not calculated in this scenario which leads to advertise wrong secondary channel offset in beacon HT IE. Change-Id: I0056ed866bbff1f89de2d51a308bf1ecd075440f CRs-Fixed: 572572
* cld: Fix incorrect channel number selection in ACS logicRaja Mani2013-10-23
| | | | | | | | | | | ACS logic should really consider configured start and end channel range before choosing any one of non overlap channel number for SAP. If configured start and end channel range are not considered, sometimes ACS logic will choose non overlap channel which is not in the range of start and end channel. Change-Id: I2502da10754a6b042371cf0d23ab4cb57b213b18 CRs-Fixed: 556045
* cld: Initial push of cld to opensource Code Aurora ForumMadan Mohan Koyyalamudi2013-09-28
Initial push of cld to opensource Code Aaurora Forum