android_kernel_samsung_msm8976/net/wireless
Kanchanapally, Vidyullatha b2270d9ce1 cfg80211: Add option to report the bss entry in connect result
Since cfg80211 maintains separate BSS table entries for APs if the same
BSSID, SSID pair is seen on multiple channels, it is possible that it
can map the current_bss to a BSS entry on the wrong channel. This
current_bss will not get flushed unless disconnected and cfg80211
reports a wrong channel as the associated channel.

Fix this by introducing a new cfg80211_connect_bss() function which is
similar to cfg80211_connect_result(), but it includes an additional
parameter: the bss the STA is connected to. This allows drivers to
provide the exact bss entry that matches the BSS to which the connection
was completed.

Reviewed-by: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: Vidyullatha Kanchanapally <vkanchan@qti.qualcomm.com>
Signed-off-by: Sunil Dutt <usdutt@qti.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Git-commit: 81948527fce52c73c9a0742b8ec8d26b97f6c3c0
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git
Change-Id: I5dc58b360b2bbce53493466a0bcd5363276c302a
CRs-fixed: 1008791
Signed-off-by: Vidyullatha Kanchanapally <vidyullatha@codeaurora.org>
2016-09-07 16:07:24 +05:30
..
.gitignore
Kconfig
Makefile
ap.c
chan.c This is the 3.10.67 stable release 2015-04-24 18:04:40 -07:00
core.c
core.h cfg80211: Add option to report the bss entry in connect result 2016-09-07 16:07:24 +05:30
db.txt msm: wlan: Add new country XA 2016-06-28 06:30:02 -07:00
debugfs.c
debugfs.h
ethtool.c
ethtool.h
genregdb.awk
ibss.c
lib80211.c
lib80211_crypt_ccmp.c
lib80211_crypt_tkip.c
lib80211_crypt_wep.c
mesh.c
mlme.c
nl80211.c cfg80211: Add option to specify previous BSSID for Connect command 2016-09-07 15:14:45 +05:30
nl80211.h
radiotap.c
rdev-ops.h cfg80211: Convert del_station() callback to use a param struct 2015-08-20 13:41:49 +05:30
reg.c cfg80211: add helper reg_get_regdomain() function 2015-03-11 13:17:21 -07:00
reg.h
regdb.h
scan.c cfg80211: Allow a scan request for a specific BSSID 2016-09-07 14:40:52 +05:30
sme.c cfg80211: Add option to report the bss entry in connect result 2016-09-07 16:07:24 +05:30
sysfs.c
sysfs.h
trace.c
trace.h cfg80211: Add option to specify previous BSSID for Connect command 2016-09-07 15:14:45 +05:30
util.c cfg80211: Add option to report the bss entry in connect result 2016-09-07 16:07:24 +05:30
wext-compat.c cfg80211: wext: clear sinfo struct before calling driver 2015-06-22 16:55:54 -07:00
wext-compat.h
wext-core.c
wext-priv.c
wext-proc.c
wext-sme.c
wext-spy.c