Commit graph

584958 commits

Author SHA1 Message Date
Jouni Malinen
dcfe151610 cfg80211: Allow cfg80211_connect_result() errors to be distinguished
Previously, the status parameter to cfg80211_connect_result() was
documented as using WLAN_STATUS_UNSPECIFIED_FAILURE (1) when the real
status code for the failure is not known. This value can be used by an
AP (and often is) and as such, user space cannot distinguish between
explicitly rejected authentication/association and not being able to
even try to associate or not receiving a response from the AP.

Add a new inline function, cfg80211_connect_timeout(), to be used when
the driver knows that the connection attempt failed due to a reason
where connection could not be attempt or no response was received from
the AP. The internal functions now allow a negative status value (-1) to
be used as an indication of this special case. This results in the
NL80211_ATTR_TIMED_OUT to be added to the NL80211_CMD_CONNECT event to
allow user space to determine this case was hit. For backwards
compatibility, NL80211_STATUS_CODE with the value
WLAN_STATUS_UNSPECIFIED_FAILURE is still indicated in the event in such
a case.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
[johannes: fix cfg80211_connect_bss() prototype to use int for status,
 add cfg80211_connect_timeout() to docbook, fix docbook]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Git-commit: bf1ecd210541ef5f3a110e88e8ca5d33b4aa5c23
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git
CRs-Fixed: 2004380
Change-Id: I43e2a7d588ee86a8470cf72ac0a95daaae569fa0
Signed-off-by: Purushottam Kushwaha <pkushwah@codeaurora.org>
2017-03-06 21:18:26 -08:00
Linux Build Service Account
783427f7ad Merge "ARM: dts: msm: add device nodes to support DP on sdm630" 2017-03-06 04:28:46 -08:00
Linux Build Service Account
d372046ab7 Merge "ARM: dts: msm: Add rpm stats for TZ and SPSS for MSM8998" 2017-03-06 04:28:45 -08:00
Linux Build Service Account
5570b43a11 Merge "leds: qpnp-wled: add support to control PSM dynamically" 2017-03-06 04:28:44 -08:00
Linux Build Service Account
574ce4f484 Merge "ARM: dts: msm: change CHG_OK pin to active high for QRD SDM660" 2017-03-06 04:28:44 -08:00
Linux Build Service Account
22f29dc93c Merge "msm: mdss: trigger BTA during active region of display" 2017-03-06 04:28:42 -08:00
Linux Build Service Account
629c363b24 Merge "msm: mhi_rmnet: Keep wake when processing transfer" 2017-03-06 04:28:40 -08:00
Linux Build Service Account
6b590fff54 Merge "msm: mhi_rmnet: Add support for platform devices" 2017-03-06 04:28:40 -08:00
Linux Build Service Account
eaa533f9f9 Merge "ARM: dts: msm: Change BLSP assignment for APQ8098-mediabox" 2017-03-06 04:28:39 -08:00
Linux Build Service Account
0c356c964d Merge "ARM: dts: msm: Add cpp micro reset flag for SDM660" 2017-03-06 04:28:37 -08:00
Linux Build Service Account
ded703d63e Merge "mmc: card: block: Add support for completing cmdq requests with error" 2017-03-05 20:08:25 -08:00
Linux Build Service Account
ea58c08a4d Merge "ath10k: define structure for the copy engine misc regs" 2017-03-05 20:08:24 -08:00
Linux Build Service Account
24ffebabf9 Merge "ath10k: skip cal configuration for WCN3990" 2017-03-05 20:08:23 -08:00
Linux Build Service Account
bc96a4dc0f Merge "USB: composite: Check return value before composite_setup_complete()" 2017-03-05 20:08:22 -08:00
Linux Build Service Account
9fd71eb881 Merge "leds: qpnp-wled: improve OVP fault interrupt handling" 2017-03-05 20:08:20 -08:00
Linux Build Service Account
57508fa0b5 Merge "ARM: dts: msm: Add improve touch device node into sdm630 QRD" 2017-03-05 20:08:19 -08:00
Linux Build Service Account
fd61d8dad0 Merge "ARM: dts: msm: Update SDCC PM QOS values for SDM660" 2017-03-05 20:08:18 -08:00
Yingwei Zhao
4de1da15c1 ARM: dts: msm: change CHG_OK pin to active high for QRD SDM660
PM660 controls SMB1351 by STAT_CHG pin when the parallel is enabled.
the polarity of SMB1351 should be active high, so add a property
in DTS to the polarity.

CRs-Fixed: 2015025
Change-Id: Idca4149c587e9588fce8ba757fa0b7bf0ca5614d
Signed-off-by: Yingwei Zhao <cyizhao@codeaurora.org>
2017-03-05 18:30:54 -08:00
Linux Build Service Account
796d604a03 Merge "msm: mdss: Fix AVR flush for split control path" 2017-03-05 12:38:08 -08:00
Linux Build Service Account
7a1822a443 Merge "msm: mdss: flush timing after splash done for video panel" 2017-03-05 12:38:07 -08:00
Linux Build Service Account
fc0f8e4fab Merge "msm: mdss: add support for DP PLL driver on sdm630" 2017-03-05 12:38:06 -08:00
Linux Build Service Account
0022c06fc8 Merge "USB: gadget: midi: Replace snd_card_free with snd_card_free_closed" 2017-03-04 23:34:13 -08:00
Linux Build Service Account
ee3c2b2d74 Merge "msm: mdss: validate qseed3 params" 2017-03-04 10:12:55 -08:00
Linux Build Service Account
d2499ee89d Merge "mmc: core: Retry claim host in mmc_sd_detect" 2017-03-04 10:12:54 -08:00
Linux Build Service Account
77610431cb Merge "defconfig: enable VT driver for mediabox" 2017-03-04 02:56:20 -08:00
Linux Build Service Account
776a0506ed Merge "ASoC: codecs: add cable connect/disconnect acknowledgment" 2017-03-04 02:56:19 -08:00
Linux Build Service Account
62be936f95 Merge "msm: pcie: add the checking of userspace input length" 2017-03-04 02:56:18 -08:00
Linux Build Service Account
b398385a00 Merge "msm: camera: Lack of copy_from_user in camera driver." 2017-03-04 02:56:17 -08:00
Veerabhadrarao Badiganti
e9cc73402e mmc: core: Retry claim host in mmc_sd_detect
Use mmc_try_claim_host with a timeout instead of mmc_claim_host in
mmc_sd_detect. This is to ensure that mmc rescan work item is doesn't
get blocked on claim_host for longer period.

In the pm_suspend path, we cancel the mmc_rescan work item.
If this work item is already scheduled, suspend would be blocked till
mmc_rescan gets finished. In case, mmc_rescan is blocked on claim_host
lock, pm_suspend could get blocked for longer period.  This can result
in momentary UI freeze since pm_suspend is blocked for longer duration.
This change is to prevent this scenario.

Change-Id: Ib93bae6745a153bad3579ae42f46c3c3a7c1b95a
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
2017-03-03 18:55:32 -08:00
Linux Build Service Account
b64db613f2 Merge "usb: dwc3: Replace sscanf with kstrtou8_from_user" 2017-03-03 17:39:29 -08:00
Linux Build Service Account
743e265eb5 Merge "clk: qcom: Use the saved current frequency for enable_safe_config" 2017-03-03 17:39:28 -08:00
Linux Build Service Account
a7554a335c Merge "power: fg-util: Fix the address mask for secure_write check" 2017-03-03 17:39:27 -08:00
Linux Build Service Account
ea9c12138d Merge "qcom: smb-lib: fix adapter allowance for PM660" 2017-03-03 17:39:26 -08:00
Linux Build Service Account
2a9195b87f Merge "msm: ipa3: fix DMA memory allocation success check" 2017-03-03 17:39:25 -08:00
Linux Build Service Account
22cc32a067 Merge "msm: ipa: Remove usage of stack memory" 2017-03-03 17:39:24 -08:00
Linux Build Service Account
085e108910 Merge "alarmtimer: Program mpm wakeup time in milliseconds" 2017-03-03 17:39:23 -08:00
Linux Build Service Account
6897134f74 Merge "msm: mhi_uci: Add support for platform devices" 2017-03-03 17:39:22 -08:00
Linux Build Service Account
f13bb40b09 Merge "ARM: dts: msm: Update SDCC bus voting for SDM660" 2017-03-03 17:39:21 -08:00
Linux Build Service Account
92751c23bd Merge "ARM: dts: msm: add sink capabilities to PM660 PD PHY" 2017-03-03 17:39:20 -08:00
Linux Build Service Account
e6e0a5df5f Merge "ath10k: Remove bus structures from ath10k struct" 2017-03-03 17:39:19 -08:00
Linux Build Service Account
048676be41 Merge "Merge tag 'lsk-v4.4-16.12-android' into branch 'msm-4.4'" 2017-03-03 17:39:18 -08:00
Linux Build Service Account
c0e191cd70 Merge "ARM: dts: msm: Add Nfc device to sdm630" 2017-03-03 17:39:17 -08:00
Linux Build Service Account
9b591f82cc Merge "USB: f_mtp: Perform vfs_write under mutex protection" 2017-03-03 17:39:16 -08:00
Linux Build Service Account
9067d4454d Merge "sched/rt: Fix PI handling vs. sched_setscheduler()" 2017-03-03 17:39:16 -08:00
Linux Build Service Account
2b5b362f11 Merge "msm: kgsl: Change GPU RAC hardware clockgating on SDM660" 2017-03-03 17:39:15 -08:00
Linux Build Service Account
064ad70ba3 Merge "defconfig: Enable REGMAP_ALLOW_WRITE_DEBUGFS for sdm660" 2017-03-03 17:39:14 -08:00
Sujeev Dias
25a3b9b47d msm: mhi_rmnet: Keep wake when processing transfer
Disable MHI from going into low power mode when
processing inbound transfers.

CRs-Fixed: 1081654
Change-Id: If8af0805501901a15981bbc6db0c92d2e040eb78
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
2017-03-03 13:41:21 -08:00
Sujeev Dias
63b9fc1f66 msm: mhi_rmnet: Add support for platform devices
In order to support multiple instances of mhi_rmnet
net devices re-architect how the driver initialize
by adding support for platform device.

CRs-Fixed: 1027069
Change-Id: I038f9dcb2e9bffb2637d82fb30794f6e6d4c578c
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
2017-03-03 13:40:08 -08:00
Veerabhadrarao Badiganti
2c7676c7d7 mmc: card: block: Add support for completing cmdq requests with error
Add support for completing failed cmdq requests with error.

If any cmdq request is failed, we enter into error recovery path and
re-queue the same request. But in some cases (e.g. requests failed due
to invalid crypto configuration) same request shouldn't be re-queued
but should complete the request with error so that the a new requested
would be issued.

In mmc_blk_cmdq_complete_rq(), for a request if error information is
present and flag which indicates to skip error handling is set
then complete that request with error info.

Change-Id: I9c4a446bb27b4d82a0847d0bfb4481b314df479c
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
2017-03-03 09:01:29 -08:00
Mahesh Sivasubramanian
b8d9268af5 ARM: dts: msm: Add rpm stats for TZ and SPSS for MSM8998
Add rpm master stats votes for TZ and SPSS to track votes from these
masters.

Change-Id: I98781d33f4e8424660898d5635624b8b891237f8
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
2017-03-03 08:56:48 -07:00