mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-16 14:30:06 -04:00
Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6
This commit is contained in:
@@ -1211,6 +1211,8 @@ enum ieee80211_category {
|
||||
WLAN_CATEGORY_SA_QUERY = 8,
|
||||
WLAN_CATEGORY_PROTECTED_DUAL_OF_ACTION = 9,
|
||||
WLAN_CATEGORY_WMM = 17,
|
||||
WLAN_CATEGORY_MESH_PLINK = 30, /* Pending ANA approval */
|
||||
WLAN_CATEGORY_MESH_PATH_SEL = 32, /* Pending ANA approval */
|
||||
WLAN_CATEGORY_VENDOR_SPECIFIC_PROTECTED = 126,
|
||||
WLAN_CATEGORY_VENDOR_SPECIFIC = 127,
|
||||
};
|
||||
@@ -1324,7 +1326,6 @@ enum ieee80211_back_actioncode {
|
||||
enum ieee80211_back_parties {
|
||||
WLAN_BACK_RECIPIENT = 0,
|
||||
WLAN_BACK_INITIATOR = 1,
|
||||
WLAN_BACK_TIMER = 2,
|
||||
};
|
||||
|
||||
/* SA Query action */
|
||||
|
||||
@@ -94,6 +94,8 @@
|
||||
|
||||
#define SDIO_BUS_WIDTH_1BIT 0x00
|
||||
#define SDIO_BUS_WIDTH_4BIT 0x02
|
||||
#define SDIO_BUS_ECSI 0x20 /* Enable continuous SPI interrupt */
|
||||
#define SDIO_BUS_SCSI 0x40 /* Support continuous SPI interrupt */
|
||||
|
||||
#define SDIO_BUS_ASYNC_INT 0x20
|
||||
|
||||
|
||||
@@ -703,6 +703,12 @@ enum nl80211_commands {
|
||||
* @NL80211_ATTR_CQM: connection quality monitor configuration in a
|
||||
* nested attribute with %NL80211_ATTR_CQM_* sub-attributes.
|
||||
*
|
||||
* @NL80211_ATTR_LOCAL_STATE_CHANGE: Flag attribute to indicate that a command
|
||||
* is requesting a local authentication/association state change without
|
||||
* invoking actual management frame exchange. This can be used with
|
||||
* NL80211_CMD_AUTHENTICATE, NL80211_CMD_DEAUTHENTICATE,
|
||||
* NL80211_CMD_DISASSOCIATE.
|
||||
*
|
||||
* @NL80211_ATTR_MAX: highest attribute number currently defined
|
||||
* @__NL80211_ATTR_AFTER_LAST: internal use
|
||||
*/
|
||||
@@ -856,6 +862,8 @@ enum nl80211_attrs {
|
||||
|
||||
NL80211_ATTR_CQM,
|
||||
|
||||
NL80211_ATTR_LOCAL_STATE_CHANGE,
|
||||
|
||||
/* add attributes here, update the policy in nl80211.c */
|
||||
|
||||
__NL80211_ATTR_AFTER_LAST,
|
||||
|
||||
@@ -704,6 +704,10 @@ struct cfg80211_crypto_settings {
|
||||
* @key_len: length of WEP key for shared key authentication
|
||||
* @key_idx: index of WEP key for shared key authentication
|
||||
* @key: WEP key for shared key authentication
|
||||
* @local_state_change: This is a request for a local state only, i.e., no
|
||||
* Authentication frame is to be transmitted and authentication state is
|
||||
* to be changed without having to wait for a response from the peer STA
|
||||
* (AP).
|
||||
*/
|
||||
struct cfg80211_auth_request {
|
||||
struct cfg80211_bss *bss;
|
||||
@@ -712,6 +716,7 @@ struct cfg80211_auth_request {
|
||||
enum nl80211_auth_type auth_type;
|
||||
const u8 *key;
|
||||
u8 key_len, key_idx;
|
||||
bool local_state_change;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -744,12 +749,15 @@ struct cfg80211_assoc_request {
|
||||
* @ie: Extra IEs to add to Deauthentication frame or %NULL
|
||||
* @ie_len: Length of ie buffer in octets
|
||||
* @reason_code: The reason code for the deauthentication
|
||||
* @local_state_change: This is a request for a local state only, i.e., no
|
||||
* Deauthentication frame is to be transmitted.
|
||||
*/
|
||||
struct cfg80211_deauth_request {
|
||||
struct cfg80211_bss *bss;
|
||||
const u8 *ie;
|
||||
size_t ie_len;
|
||||
u16 reason_code;
|
||||
bool local_state_change;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -762,12 +770,15 @@ struct cfg80211_deauth_request {
|
||||
* @ie: Extra IEs to add to Disassociation frame or %NULL
|
||||
* @ie_len: Length of ie buffer in octets
|
||||
* @reason_code: The reason code for the disassociation
|
||||
* @local_state_change: This is a request for a local state only, i.e., no
|
||||
* Disassociation frame is to be transmitted.
|
||||
*/
|
||||
struct cfg80211_disassoc_request {
|
||||
struct cfg80211_bss *bss;
|
||||
const u8 *ie;
|
||||
size_t ie_len;
|
||||
u16 reason_code;
|
||||
bool local_state_change;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -323,7 +323,7 @@ typedef int (*iw_handler)(struct net_device *dev, struct iw_request_info *info,
|
||||
struct iw_handler_def {
|
||||
|
||||
/* Array of handlers for standard ioctls
|
||||
* We will call dev->wireless_handlers->standard[ioctl - SIOCSIWCOMMIT]
|
||||
* We will call dev->wireless_handlers->standard[ioctl - SIOCIWFIRST]
|
||||
*/
|
||||
const iw_handler * standard;
|
||||
/* Number of handlers defined (more precisely, index of the
|
||||
|
||||
@@ -587,11 +587,15 @@ struct ieee80211_rx_status {
|
||||
* may turn the device off as much as possible. Typically, this flag will
|
||||
* be set when an interface is set UP but not associated or scanning, but
|
||||
* it can also be unset in that case when monitor interfaces are active.
|
||||
* @IEEE80211_CONF_QOS: Enable 802.11e QoS also know as WMM (Wireless
|
||||
* Multimedia). On some drivers (iwlwifi is one of know) we have
|
||||
* to enable/disable QoS explicitly.
|
||||
*/
|
||||
enum ieee80211_conf_flags {
|
||||
IEEE80211_CONF_MONITOR = (1<<0),
|
||||
IEEE80211_CONF_PS = (1<<1),
|
||||
IEEE80211_CONF_IDLE = (1<<2),
|
||||
IEEE80211_CONF_QOS = (1<<3),
|
||||
};
|
||||
|
||||
|
||||
@@ -616,6 +620,7 @@ enum ieee80211_conf_changed {
|
||||
IEEE80211_CONF_CHANGE_CHANNEL = BIT(6),
|
||||
IEEE80211_CONF_CHANGE_RETRY_LIMITS = BIT(7),
|
||||
IEEE80211_CONF_CHANGE_IDLE = BIT(8),
|
||||
IEEE80211_CONF_CHANGE_QOS = BIT(9),
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -1822,7 +1827,10 @@ void ieee80211_restart_hw(struct ieee80211_hw *hw);
|
||||
* ieee80211_rx - receive frame
|
||||
*
|
||||
* Use this function to hand received frames to mac80211. The receive
|
||||
* buffer in @skb must start with an IEEE 802.11 header.
|
||||
* buffer in @skb must start with an IEEE 802.11 header. In case of a
|
||||
* paged @skb is used, the driver is recommended to put the ieee80211
|
||||
* header of the frame on the linear part of the @skb to avoid memory
|
||||
* allocation and/or memcpy by the stack.
|
||||
*
|
||||
* This function may not be called in IRQ context. Calls to this function
|
||||
* for a single hardware must be synchronized against each other. Calls to
|
||||
|
||||
Reference in New Issue
Block a user