aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'LA.UM.5.5.r1-00900-8x96.0' of ↵cm-14.0Steve Kondik2016-10-1720-30/+876
|\ | | | | | | | | | | git://codeaurora.org/platform/external/wpa_supplicant_8 into cm-14.0 "LA.UM.5.5.r1-00900-8x96.0"
| * Merge 4b90e06ec3e20955d327a9da9e806b2591967b00 on remote branchLinux Build Service Account2016-10-105-4/+615
| |\ | | | | | | | | | Change-Id: If9df9cdf604e107130938205c186231f73847b4d
| | * Promotion of wlan-aosp-service.lnx.2.0-00008.Linux Build Service Account2016-10-032-0/+52
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- 1071516 Ic51c38c929f153a79cf0c1513576b9fc56eb5164 Define a QCA vendor command to validate encryption engin 1069689 I79b5332364a7bc942846c0e4c8bafc08c610d2fe mesh: Allow 160 MHz channel to be configured Change-Id: Iebedd2f7e07e8f52aab4092b96875e5020244c95 CRs-Fixed: 1069689, 1071516
| | | * Merge "mesh: Allow 160 MHz channel to be configured" into ↵Linux Build Service Account2016-10-031-0/+10
| | | |\ | | | | | | | | | | | | | | | wlan-aosp-service.lnx.2.0-dev
| | | | * mesh: Allow 160 MHz channel to be configuredJouni Malinen2016-09-231-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows minimal testing with 160 MHz channel with country code ZA that happens to be the only one with a non-DFS 160 MHz frequency. DFS with mesh is not yet supported. Signed-off-by: Jouni Malinen <j@w1.fi> Git-commit: 331f07742f622ed6bd0019dcb574735fbbbfddde Git-repo: git://w1.fi/srv/git/hostap.git Change-Id: I79b5332364a7bc942846c0e4c8bafc08c610d2fe CRs-fixed: 1069689
| | | * | Define a QCA vendor command to validate encryption engineSrinivas Dasari2016-09-291-0/+42
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This command carries 802.11 header and payload along with key (TK) and PN for encryption/decryption purpose. Firmware/driver encrypts/decrypts the given data and sends to userspace as a response to the command. User space component can validate the data received from the driver to unit test the hardware's encryption engine. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 0d7eba5417cf0caa42d72ec3acbfe9b068d06e66 Git-repo: git://w1.fi/srv/git/hostap.git CRs-Fixed: 1071516 Change-Id: Ic51c38c929f153a79cf0c1513576b9fc56eb5164
| | * | Promotion of wlan-aosp-service.lnx.2.0-00006.Linux Build Service Account2016-09-214-4/+563
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- 1064000 I7937f299eb2676c42397935dd75de4310651b255 QCA vendor subcommand for LL_STATS extension 1064000 I0335bff27dab222a0f4e2587f1f57f18a6ad7812 QCA vendor command to configure GPIO pins 1056212 Ie7a92faf217528213c793aef2a0438bf921c4ac5 Report connection timeouts in CTRL-EVENT-ASSOC-REJECT 1064000 I6aae38db9a719784365e7a18a64d643f89a62a1b Fix mistakes in definition of QCA vendor commands for in 1064000 I0b4cc7b8b924b93f553e625ff1aaa237087a08d9 QCA vendor command to get hardware capabilities 1064000 I187044ebf16ae2cebe14261977c3db35732fd22b Add QCA vendor commands/attributes for indoor location Change-Id: I8d54b404f4a563b079b8274e1692fc6e05371fe1 CRs-Fixed: 1056212, 1064000
| | | * Report connection timeouts in CTRL-EVENT-ASSOC-REJECTJouni Malinen2016-09-163-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new "timeout" argument to the event message if the nl80211 message indicates that the connection failure is not due to an explicit AP rejection message. This makes it easier for external programs to figure out why the connection failed. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 9a5160f5fb1b06392477154bb349cacc49b2ef16 Git-repo: git://w1.fi/srv/git/hostap.git Change-Id: Ie7a92faf217528213c793aef2a0438bf921c4ac5 CRs-Fixed: 1056212
| | | * Merge changes I6aae38db,I187044eb into wlan-aosp-service.lnx.2.0-devLinux Build Service Account2016-09-161-0/+440
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Fix mistakes in definition of QCA vendor commands for indoor location Add QCA vendor commands/attributes for indoor location
| | | | * Fix mistakes in definition of QCA vendor commands for indoor locationLior David2016-09-071-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix some mistakes in the previous commit for adding QCA vendor commands for indoor location. Note: The renamed enum value does not change the ABI, but the addition of QCA_WLAN_VENDOR_ATTR_FTM_MEAS_INVALID in the beginning of enum qca_wlan_vendor_attr_ftm_meas does renumber QCA_WLAN_VENDOR_ATTR_FTM_MEAS_* values. The previous values were committed yesterday and have not been used in any released code yet, so this is a justifiable quick fix. Change-Id: I6aae38db9a719784365e7a18a64d643f89a62a1b Signed-off-by: Lior David <qca_liord@qca.qualcomm.com> Git-commit: a62dea4156910d85ebe42767f68eb2bc97d43245 Git-repo: git://w1.fi/srv/git/hostap.git CRs-Fixed: 1064000
| | | | * Add QCA vendor commands/attributes for indoor locationLior David2016-09-071-0/+439
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Assign QCA vendor specific commands, attributes, and events for supporting indoor location features. These features include: 1. Fine timing measurement (FTM) - allows measurement of distance between two stations. Based on IEEE P802.11-REVmc/D7.0, 11.24.6 FTM is performed between two stations: one is an initiator, typically a client that wants to measure distance to another AP, and one is a responder, typically an AP which responds to measurement requests from other clients. The responder can be configured to report its location, either in absolute coordinates (LCI) or free-form description (LCR). 2. Angle of arrival (AOA) - allows measurement of azimuth and elevation between two stations. The above features can be combined to allow a station to get an accurate indoor location. Change-Id: I187044ebf16ae2cebe14261977c3db35732fd22b Signed-off-by: Lior David <qca_liord@qca.qualcomm.com> Git-commit: fcd85d9a3f2d9d63d0fa57e93446ad467db75b23 Git-repo: git://w1.fi/srv/git/hostap.git CRs-Fixed: 1064000
| | | * | Merge "QCA vendor subcommand for LL_STATS extension" into ↵Linux Build Service Account2016-09-161-0/+46
| | | |\| | | | | | | | | | | | | | | | wlan-aosp-service.lnx.2.0-dev
| | | | * QCA vendor subcommand for LL_STATS extensionZhang Qian2016-09-071-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some user space monitor wants to offload link layer statistics to firmware. A new command QCA_NL80211_VENDOR_SUBCMD_LL_STATS_EXT and associcated attributes are added. The monitor will use this new command to configure monitoring paramters and get link layer statistics. Attributes added in this change: 1. Parameters for FW to trigger the statistics report 2. Peer STA power state 3. TX failure statistics Change-Id: I7937f299eb2676c42397935dd75de4310651b255 Signed-off-by: Zhang Qian <zhangq@qti.qualcomm.com> Git-commit: 22950d0568fddd9fcd11562d5a38c8e595ab5c99 Git-repo: git://w1.fi/srv/git/hostap.git CRs-Fixed: 1064000
| | | * | Merge changes I0b4cc7b8,I0335bff2 into wlan-aosp-service.lnx.2.0-devLinux Build Service Account2016-09-161-0/+61
| | | |\| | | | | | | | | | | | | | | | | | | | | | | | | | * changes: QCA vendor command to get hardware capabilities QCA vendor command to configure GPIO pins
| | | | * QCA vendor command to get hardware capabilitiesYingying Tang2016-09-071-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit introduces a new vendor sub command QCA_NL80211_VENDOR_SUBCMD_GET_HW_CAPABILITY and the associated attributes to get Wi-Fi hardware capabilities. Change-Id: I0b4cc7b8b924b93f553e625ff1aaa237087a08d9 Signed-off-by: Yingying Tang <yintang@qti.qualcomm.com> Git-commit: 6fe3b9d45151f1c6ae60be66d85638ca39fa7bbb Git-repo: git://w1.fi/srv/git/hostap.git CRs-Fixed: 1064000
| | | | * QCA vendor command to configure GPIO pinsVikram Kandukuri2016-09-071-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit introduces a new vendor sub command QCA_NL80211_VENDOR_SUBCMD_GPIO_CONFIG_COMMAND and associated attributes to configure GPIO pins. Change-Id: I0335bff27dab222a0f4e2587f1f57f18a6ad7812 Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 4ac75cd01abcdb27f05269865683810d23be39f2 Git-repo: git://w1.fi/srv/git/hostap.git CRs-Fixed: 1064000
| * | | | Merge db81de1eb825b24b725f1fc42deca90209aa5686 on remote branchLinux Build Service Account2016-09-221-19/+2
| |\| | | | | | | | | | | | | | | | | | Change-Id: I37efeff677fd1db34a1bcc8432940e83d7bfcdda
| | * | | Promotion of wlan-aosp-service.lnx.2.0-00005.Linux Build Service Account2016-09-151-19/+2
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- 1065588 Ie86165061a48f0ceee63fef5ed40cb060fd464ca nl80211: Use the monitor interface only without device_a Change-Id: Ic2bec9f1f18f6199b521edab47d636742476c93c CRs-Fixed: 1065588
| | | * | nl80211: Use the monitor interface only without device_ap_sme supportSunil Dutt2016-09-121-19/+2
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The places using drv->use_monitor were already skipping creation of the monitor interface if drv->device_ap_sme == 0. This means that the monitor interface operations would not have worked anyway and it is safe to set drv->use_monitor to zero for all such cases. This fixes an issue with management frame subscription not happening properly for the case where the AP SME is in the driver and the driver supports monitor interfaces (for other purposes). This commit also removes the check for monitor support and the previously used workaround that cleared drv->use_monitor in drv->device_ap_sme == 1 case if monitor interface was not supported since that condition cannot occur anymore. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 660103eca9321af45c54f973c99714d583979f9e Git-repo: git://w1.fi/srv/git/hostap.git Change-Id: Ie86165061a48f0ceee63fef5ed40cb060fd464ca CRs-Fixed: 1065588
| * | | Merge 44f100057998df58e805f212d038a0139e80ae46 on remote branchLinux Build Service Account2016-09-1219-7/+259
| |\| | | | | | | | | | | | | | Change-Id: Ib97cd3b33a1c7cd06632a186bd3f9cfed7669ce0
| | * | Promotion of wlan-aosp-service.lnx.2.0-00003.Linux Build Service Account2016-09-019-6/+50
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- 1059345 Id9b2361ee00b9d54c13c75d2446583edff867ade wpa_supplicant: Configurable EAP fragment size in AP mod 1039034 I762f4137e6f86786f6f858c876e6893eb13fbbc8 Reserve QCA vendor specific nl80211 command 121 1059345 I94aa3956665f1ee23fa80820424f5dde526d3330 wpa_supplicant: Add wps_disabled parameter to network bl 1059345 I616fcc75abde6f261026eb0db4bf97d5775e4f80 Fix sending non-Public Action frames over P2P Device int Change-Id: I92304c4df1ac3697e52f8f7def85dacd03a9d243 CRs-Fixed: 1059345, 1039034
| | | * Merge changes Id9b2361e,I616fcc75 into wlan-aosp-service.lnx.2.0-devLinux Build Service Account2016-08-313-5/+31
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | * changes: wpa_supplicant: Configurable EAP fragment size in AP mode Fix sending non-Public Action frames over P2P Device interface
| | | | * wpa_supplicant: Configurable EAP fragment size in AP modeLior David2016-08-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In wpa_supplicant AP mode, allow configuration of the EAP fragment size using the fragment_size member of network block (wpa_ssid), similar to the fragment_size in hostapd configuration. bss->fragment_size default value of 0 is treated specially in some EAP code paths (such as MTU initialization in eap_pwd_init). In order to preserve the existing behavior, bss->fragment_size will only be set if the network block specified a value different from the default which is DEFAULT_FRAGMENT_SIZE(1398) bytes. Change-Id: Id9b2361ee00b9d54c13c75d2446583edff867ade Signed-off-by: Lior David <qca_liord@qca.qualcomm.com> Git-commit: b94fff1d93e894b55656dea1a833b33b93e8c4f0 Git-repo: git://w1.fi/srv/git/hostap.git CRs-Fixed: 1059345
| | | | * Fix sending non-Public Action frames over P2P Device interfaceLior David2016-08-252-5/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The P2P Device interface can only send Public Action frames. Non-Public Action frames must be sent over a group interface. The previous implementation sometimes tried to send non-Public Action frames such as GO Discoverability over the P2P Device interface, however, the source address of the frame was set to the group interface address so the code in offchannel.c knew to select the correct interface for the TX. The check breaks when the P2P Device and group interfaces have the same MAC address. In this case the frame will be sent over the P2P Device interface and the send will fail. Fix this problem in two places: 1. In offchannel, route non-Public Action frames to the GO interface when the above conditions are met. 2. When a TX_STATUS event arrives on such routed frame, it will arrive on the GO interface but it must be handled by the P2P Device interface since it has the relevant state logic. Change-Id: I616fcc75abde6f261026eb0db4bf97d5775e4f80 Signed-off-by: Lior David <qca_liord@qca.qualcomm.com> Git-commit: a26c9c2e710a74c7e0fc9a5bf1ddf79b2bdfc49a Git-repo: git://w1.fi/srv/git/hostap.git CRs-Fixed: 1059345
| | | * | Merge "wpa_supplicant: Add wps_disabled parameter to network block" into ↵Linux Build Service Account2016-08-316-1/+18
| | | |\| | | | | | | | | | | | | | | | wlan-aosp-service.lnx.2.0-dev
| | | | * wpa_supplicant: Add wps_disabled parameter to network blockLior David2016-08-256-1/+18
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new parameter wps_disabled to network block (wpa_ssid). This parameter allows WPS functionality to be disabled in AP mode. Change-Id: I94aa3956665f1ee23fa80820424f5dde526d3330 Signed-off-by: Lior David <qca_liord@qca.qualcomm.com> Git-commit: b6317b417f5dfb16711ec1a7ab3600f77479fe20 Git-repo: git://w1.fi/srv/git/hostap.git CRs-Fixed: 1059345
| | | * Reserve QCA vendor specific nl80211 command 121Sunil Dutt2016-08-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is reserved for QCA use. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: d1296da64343085017015cccc0562dd702bb10c7 Git-repo: git://w1.fi/srv/git/hostap.git Change-Id: I762f4137e6f86786f6f858c876e6893eb13fbbc8 CRs-fixed: 1039034
| | * | Promotion of wlan-aosp-service.lnx.2.0-00001.Linux Build Service Account2016-08-2711-1/+209
| |/| | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- 1049832 I1e6fe321259fe3ddf1b0c20091fe7aea305cb581 Assign QCA vendor command/attributes for set/get wifi co 1049832 I4c6ef759c18750b9d4c118750495fdde2f7928b2 Assign QCA vendor attributes for set retry configuration 1049832 I905d93b10f32c81b64dfecbec2b181791b351226 Define QCA vendor config attribute to set default scan I 1049832 Ice6896e38676660cf60b6982b15f47ca26633de9 Fix a typo in QCA vendor attribution documentation 1049832 Ib255c47f0ded8b68837293647345cfd830048e6a Assign QCA vendor attribute for setting TX fail count th 1049832 I21e8e31c50bb14903a14a2419a6eb5f4ae8841ef Set default scan IEs to the driver (QCA vendor extension Change-Id: Ie79d2ed607d407ea49fe417a64c43b2cd7997036 CRs-Fixed: 1049832
| | * Set default scan IEs to the driver (QCA vendor extension)vamsi krishna2016-08-2410-0/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes wpa_supplicant set default scan IEs to the driver (if the vendor command is supported). The driver can use these IEs in the scan requests initiated by the driver itself. Also the driver can merge these IEs into further scan requests that it receives, in case if the scan request doesn't carry any of the IEs sent in this command. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: cc9985d1b1a844fddbc042abe8c4f5036c0d410b Git-repo: git://w1.fi/srv/git/hostap.git Change-Id: I21e8e31c50bb14903a14a2419a6eb5f4ae8841ef CRs-Fixed: 1049832
| | * Fix a typo in QCA vendor attribution documentationJouni Malinen2016-08-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previously used subcommand names in the comment did not match the ones defined above. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 4f910f38e57d154f7ef559dad7d31cadf045b9a2 Git-repo: git://w1.fi/srv/git/hostap.git Change-Id: Ice6896e38676660cf60b6982b15f47ca26633de9 CRs-Fixed: 1049832
| | * Define QCA vendor config attribute to set default scan IEs to the drivervamsi krishna2016-08-241-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: ab21863108f3e8ba178911067514100d07c3ab26 Git-repo: git://w1.fi/srv/git/hostap.git Change-Id: I905d93b10f32c81b64dfecbec2b181791b351226 CRs-Fixed: 1049832
| | * Assign QCA vendor attribute for setting TX fail count thresholdSunil Dutt2016-08-241-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 6c34b9c2d239d804bb9b260da2ba34c3921d3787 Git-repo: git://w1.fi/srv/git/hostap.git Change-Id: Ib255c47f0ded8b68837293647345cfd830048e6a CRs-Fixed: 1049832
| | * Assign QCA vendor attributes for set retry configurationzhangq2016-08-241-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 52fec3669cac7b38e3e8947ce9e228291a2fe8e1 Git-repo: git://w1.fi/srv/git/hostap.git Change-Id: I4c6ef759c18750b9d4c118750495fdde2f7928b2 CRs-Fixed: 1049832
| | * Assign QCA vendor command/attributes for set/get wifi configurationSunil Dutt2016-08-241-1/+59
| |/ | | | | | | | | | | | | | | | | | | | | | | This adds QCA_NL80211_VENDOR_SUBCMD_SET_WIFI_CONFIGURATION and QCA_NL80211_VENDOR_SUBCMD_GET_WIFI_CONFIGURATION and the attributes used with these commands. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: ac7aea862ff3bec29abefd04fcc9b94fbb605503 Git-repo: git://w1.fi/srv/git/hostap.git Change-Id: I1e6fe321259fe3ddf1b0c20091fe7aea305cb581 CRs-Fixed: 1049832
* | wpa_supplicant: Remove unnecessary QMI linkagestaging/cm-14.0-cafSteve Kondik2016-09-011-1/+0
| | | | | | | | | | | | | | * The QMI libraries are linked with the intermediate lib, we don't need to link them directly to the executable. Change-Id: Ifedf5c480af6b5f0309cd36da719e98ae3a69750
* | wpa_supplicant_conf: Let devices provide their own templateRicardo Cerqueira2016-09-011-1/+1
| | | | | | | | Change-Id: I3a7806e0b4f407b8de646ed172cde37152d2f158
* | Fix dependenciesSteve Kondik2016-09-011-1/+1
| | | | | | | | Change-Id: I86c5e41e4d6987e432cb2f129ad585149228b04a
* | eap: Don't force reassociation when getting the identity and handshakes are ↵Ricardo Cerqueira2016-09-011-1/+5
| | | | | | | | | | | | | | | | | | | | in progress This creates a race-condition between credentials management and association, often kicking the connection state into a loop. This does not apply if the EAP connection is proxied. Change-Id: Ie43612c6112438dbdacad2a0f585c11674f5b53d
* | eap_peer: Make the QMI EAP proxy a standalone libRicardo Cerqueira2016-09-012-0/+37
| | | | | | | | | | | | | | | | | | | | This code can't be built without linking to some proprietary libs and headers. Split it off so a prebuilt can be distributed for OSS builds Ref: CYNGNOS-428 Change-Id: I430dda72e8cb156d86ef286244230bb3f511ca23
* | Revert "p2p: Add p2p_no_group_iface flag to p2p conf file"Steve Kondik2016-09-011-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | * Most devices hate this. To support it, a device needs NVRAM setup for it. This reverts commit 6b7661db4e2e3c0a37e3935f906ef9013ddef824. Conflicts: wpa_supplicant/wpa_supplicant_template.conf Change-Id: I1e91c9116c22483049e95c25f6166d2472164d18
* | p2p: Add p2p_no_group_iface flag to p2p conf fileHardik Kantilal Patel2016-08-301-0/+2
|/ | | | | | | | Avoid to create new interface for p2p connection, As an extra new interface will consume one HW index Change-Id: Id0fac3d30dc33797c93a72466ef3a839254b1117 CRs-fixed: 520439
* Fix EAP state machine reset with offloaded roaming and authorizationJouni Malinen2016-08-241-3/+6
| | | | | | | | | | | | | | | | If the driver indicates a roamed event with already completed authorization, altAccept = TRUE could have resulted in the EAP state machine ending up in the FAILURE state from the INITIALIZE state. This is not correct behavior and similar cases were already addressed for FT and WPA-PSK. Fix the offloaded roamed+authorized (EAP/PMKSA caching) case by doing similar changes to EAPOL/EAP state variable updates during association event handling. Change-Id: Id18b3fdb9736cec068d6abb6ec65c4640dfbc5a3 Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: e07adb7faa46de96172594bf9cd3600933daf18b Git-repo: git://w1.fi/srv/git/hostap.git CRs-fixed: 1053416
* P2P: Add P2P_GROUP_MEMBER command to fetch client interface addressPurushottam Kushwaha2016-08-244-0/+61
| | | | | | | | | | | | | | | | | | | | This allows local GO to fetch the P2P Interface Address of a P2P Client in the group based on the P2P Device Address for the client. This command should be sent only on a group interface (the same peer may be in multiple concurrent groups). Usage: P2P_GROUP_MEMBER <P2P Device Address> Output: <P2P Interface Address> CRs-Fixed: 999700 Git-commit: 57b38882e5f6fffa96c3397ba2c2436a872354df Git-repo : git://w1.fi/srv/git/hostap.git Signed-off-by: Purushottam Kushwaha <pkushwah@qti.qualcomm.com> Change-Id: I29de5cdcc1f5d89097819623d84afe783cdf011c
* WNM: Fetch scan results before checking transition candidatesKanchanapally, Vidyullatha2016-08-243-26/+151
| | | | | | | | | | | | | | | | | On receiving a WNM BSS Transition Management Request frame with a candidate list, fetch the latest scan results from the kernel to see if there are any recent scan results for the candidates and initiate a connection if found. This helps to avoid triggering a new scan in cases where a scan initiated by something else (e.g., an internal beacon measurement report functionality in a driver) has processed Beacon or Probe Response frames without wpa_supplicant having received a notification of such an update yet. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 2f195639ec9a568d0758c41d39f3358d3efbcbbf Git-repo: git://w1.fi/srv/git/hostap.git Change-Id: I6a5cf51cd8b5986078039a4e5ea66dc25fbfa64b CRs-Fixed: 1010891
* QCA vendor command to configure conditional switch channel for APChandrasekaran Manishekar2016-08-241-0/+33
| | | | | | | | | | | | | This commit introduces a new vendor sub command QCA_NL80211_VENDOR_SUBCMD_SAP_CONDITIONAL_CHAN_SWITCH and associated attributes which aim to configure selected frequencies on which the AP can conditionally switch onto for preferred operation. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 1c8fe68f62a10fe21dda6ce346e5ae0f5ef8d358 Git-repo: git://w1.fi/srv/git/hostap.git Change-Id: Ide4de6d36ac174825cec75b6ef7026797cf834f9 CRs-Fixed: 1045245
* nl80211: Use extended capabilities per interface typeKanchanapally, Vidyullatha2016-08-2412-1/+197
| | | | | | | | | | | | | | This adds the necessary changes to support extraction and use of the extended capabilities specified per interface type (a recent cfg80211/nl80211 extension). If that information is available, per-interface values will be used to override the global per-radio value. CRs-Fixed: 1030694 Git-commit: cc9a2575cabd2adb975df3677c6df5829f4279ad Git-repo : git://w1.fi/srv/git/hostap.git Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Change-Id: Ia192693d606ebf9b7028ecc58be01cbf37cb4620
* nl80211: Fix use-after-free in qca_nl80211_get_features()Paul Stewart2016-08-241-2/+7
| | | | | | | | | | | | Any data accessible from nla_data() is freed before the send_and_recv_msgs() function returns, therefore we need to allocate space for info.flags ourselves. CRs-Fixed: 1041556 Git-commit: fdc1188a85bb1e2c0a03e38724f6cd126ff374ad Git-repo : git://w1.fi/srv/git/hostap.git Change-Id: I2336830800ece1ea770f57710dc8be2a9a2c4c56 Signed-off-by: Paul Stewart <pstew@google.com>
* P2P: Allow P2P listen being offloaded to the driver/firmwarePeng Xu2016-08-2415-45/+431
| | | | | | | | | | | | | | | | | This allows P2P Listen to be offloaded to device to enhance power saving. To start P2P listen offload, from wpa_cli interface, issue the command: p2p_lo_start <freq> <period> <interval> <count> To stop P2P listen offload, issue the command: p2p_lo_stop Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: a6f5b1937ad45ced659d87b1eb5a665c8d137d34 Git-repo : git://w1.fi/srv/git/hostap.git Change-Id: Ie59acdfd26c26548d5e171dcb0ea4bb8a8083e28 CRs-fixed: 1039034
* nl80211: P2P Listen offload vendor command definitionsPeng Xu2016-08-241-0/+59
| | | | | | | | | | | Define QCA vendor commands, events, and attributes for P2P Listen offload. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 35d66557558159d149698ac760971d4e3c424b82 Git-repo: git://w1.fi/srv/git/hostap.git Change-Id: I8dcbbd1daaf0864da308d5a5f18a0582578494ee CRs-fixed: 1039034
* Add a QCA vendor command to configure AP parametersSunil Dutt2016-08-241-1/+21
| | | | | | | | | | | | This commit also introduces a new attribute MANDATORY_FREQUENCY_LIST which aims for AP operation in a channel that ensures best concurrency sessions. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 52a6c9c9e81f0fa7c3d9f3cb8a970d5b63690ffc Git-repo: git://w1.fi/srv/git/hostap.git Change-Id: Ifd17eff1908572f7441d81617d77293dba8ea8b4 CRs-Fixed: 1030819