cfg80211: pass station supported channel and oper class info
authorSunil Dutt <c_duttus@qti.qualcomm.com>
Wed, 9 Oct 2013 15:15:21 +0000 (20:45 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 11 Oct 2013 13:26:58 +0000 (15:26 +0200)
commitc01fc9ada926aaad907989ca2eba40c2a2a73afe
treea63aa4a69475d7fe5265927d834c8b0fcd6eb493
parent789fd03331aa1ec45cb58168e2d82525c97c7351
cfg80211: pass station supported channel and oper class info

The information of the peer's supported channels and supported operating
classes are required for the driver to perform TDLS off channel
operations. This commit enhances the function nl80211_(new)set_station
to pass this information of the peer to the driver.

Signed-off-by: Sunil Dutt <c_duttus@qti.qualcomm.com>
[return errors for malformed tuples]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/nl80211.c