aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2010-08-25 14:51:42 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-08-25 14:51:42 -0400
commite569aa78ba01f7f66e016a4d57310fd041524d17 (patch)
treeeaedc03d42ee2bf6200fc07b080a99bad103def3 /include/linux
parent4562487a00445eab96311365ba15c41dc4d043cd (diff)
parent268bae0b6879f238ba57f5f801958d1254e136f7 (diff)
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem
Conflicts: drivers/net/wireless/libertas/if_sdio.c
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/netdevice.h2
-rw-r--r--include/linux/nl80211.h150
-rw-r--r--include/linux/ssb/ssb_regs.h1
3 files changed, 123 insertions, 30 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 59962dbc2758..0cf9448a32c4 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -2171,6 +2171,8 @@ extern void dev_seq_stop(struct seq_file *seq, void *v);
2171extern int netdev_class_create_file(struct class_attribute *class_attr); 2171extern int netdev_class_create_file(struct class_attribute *class_attr);
2172extern void netdev_class_remove_file(struct class_attribute *class_attr); 2172extern void netdev_class_remove_file(struct class_attribute *class_attr);
2173 2173
2174extern struct kobj_ns_type_operations net_ns_type_operations;
2175
2174extern char *netdev_drivername(const struct net_device *dev, char *buffer, int len); 2176extern char *netdev_drivername(const struct net_device *dev, char *buffer, int len);
2175 2177
2176extern void linkwatch_run_queue(void); 2178extern void linkwatch_run_queue(void);
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h
index 2c8701687336..ec1690da7845 100644
--- a/include/linux/nl80211.h
+++ b/include/linux/nl80211.h
@@ -40,6 +40,43 @@
40 */ 40 */
41 41
42/** 42/**
43 * DOC: Frame transmission/registration support
44 *
45 * Frame transmission and registration support exists to allow userspace
46 * management entities such as wpa_supplicant react to management frames
47 * that are not being handled by the kernel. This includes, for example,
48 * certain classes of action frames that cannot be handled in the kernel
49 * for various reasons.
50 *
51 * Frame registration is done on a per-interface basis and registrations
52 * cannot be removed other than by closing the socket. It is possible to
53 * specify a registration filter to register, for example, only for a
54 * certain type of action frame. In particular with action frames, those
55 * that userspace registers for will not be returned as unhandled by the
56 * driver, so that the registered application has to take responsibility
57 * for doing that.
58 *
59 * The type of frame that can be registered for is also dependent on the
60 * driver and interface type. The frame types are advertised in wiphy
61 * attributes so applications know what to expect.
62 *
63 * NOTE: When an interface changes type while registrations are active,
64 * these registrations are ignored until the interface type is
65 * changed again. This means that changing the interface type can
66 * lead to a situation that couldn't otherwise be produced, but
67 * any such registrations will be dormant in the sense that they
68 * will not be serviced, i.e. they will not receive any frames.
69 *
70 * Frame transmission allows userspace to send for example the required
71 * responses to action frames. It is subject to some sanity checking,
72 * but many frames can be transmitted. When a frame was transmitted, its
73 * status is indicated to the sending socket.
74 *
75 * For more technical details, see the corresponding command descriptions
76 * below.
77 */
78
79/**
43 * enum nl80211_commands - supported nl80211 commands 80 * enum nl80211_commands - supported nl80211 commands
44 * 81 *
45 * @NL80211_CMD_UNSPEC: unspecified command to catch errors 82 * @NL80211_CMD_UNSPEC: unspecified command to catch errors
@@ -301,16 +338,20 @@
301 * rate selection. %NL80211_ATTR_IFINDEX is used to specify the interface 338 * rate selection. %NL80211_ATTR_IFINDEX is used to specify the interface
302 * and @NL80211_ATTR_TX_RATES the set of allowed rates. 339 * and @NL80211_ATTR_TX_RATES the set of allowed rates.
303 * 340 *
304 * @NL80211_CMD_REGISTER_ACTION: Register for receiving certain action frames 341 * @NL80211_CMD_REGISTER_FRAME: Register for receiving certain mgmt frames
305 * (via @NL80211_CMD_ACTION) for processing in userspace. This command 342 * (via @NL80211_CMD_FRAME) for processing in userspace. This command
306 * requires an interface index and a match attribute containing the first 343 * requires an interface index, a frame type attribute (optional for
307 * few bytes of the frame that should match, e.g. a single byte for only 344 * backward compatibility reasons, if not given assumes action frames)
308 * a category match or four bytes for vendor frames including the OUI. 345 * and a match attribute containing the first few bytes of the frame
309 * The registration cannot be dropped, but is removed automatically 346 * that should match, e.g. a single byte for only a category match or
310 * when the netlink socket is closed. Multiple registrations can be made. 347 * four bytes for vendor frames including the OUI. The registration
311 * @NL80211_CMD_ACTION: Action frame TX request and RX notification. This 348 * cannot be dropped, but is removed automatically when the netlink
312 * command is used both as a request to transmit an Action frame and as an 349 * socket is closed. Multiple registrations can be made.
313 * event indicating reception of an Action frame that was not processed in 350 * @NL80211_CMD_REGISTER_ACTION: Alias for @NL80211_CMD_REGISTER_FRAME for
351 * backward compatibility
352 * @NL80211_CMD_FRAME: Management frame TX request and RX notification. This
353 * command is used both as a request to transmit a management frame and
354 * as an event indicating reception of a frame that was not processed in
314 * kernel code, but is for us (i.e., which may need to be processed in a 355 * kernel code, but is for us (i.e., which may need to be processed in a
315 * user space application). %NL80211_ATTR_FRAME is used to specify the 356 * user space application). %NL80211_ATTR_FRAME is used to specify the
316 * frame contents (including header). %NL80211_ATTR_WIPHY_FREQ (and 357 * frame contents (including header). %NL80211_ATTR_WIPHY_FREQ (and
@@ -320,11 +361,14 @@
320 * operational channel). When called, this operation returns a cookie 361 * operational channel). When called, this operation returns a cookie
321 * (%NL80211_ATTR_COOKIE) that will be included with the TX status event 362 * (%NL80211_ATTR_COOKIE) that will be included with the TX status event
322 * pertaining to the TX request. 363 * pertaining to the TX request.
323 * @NL80211_CMD_ACTION_TX_STATUS: Report TX status of an Action frame 364 * @NL80211_CMD_ACTION: Alias for @NL80211_CMD_FRAME for backward compatibility.
324 * transmitted with %NL80211_CMD_ACTION. %NL80211_ATTR_COOKIE identifies 365 * @NL80211_CMD_FRAME_TX_STATUS: Report TX status of a management frame
366 * transmitted with %NL80211_CMD_FRAME. %NL80211_ATTR_COOKIE identifies
325 * the TX command and %NL80211_ATTR_FRAME includes the contents of the 367 * the TX command and %NL80211_ATTR_FRAME includes the contents of the
326 * frame. %NL80211_ATTR_ACK flag is included if the recipient acknowledged 368 * frame. %NL80211_ATTR_ACK flag is included if the recipient acknowledged
327 * the frame. 369 * the frame.
370 * @NL80211_CMD_ACTION_TX_STATUS: Alias for @NL80211_CMD_FRAME_TX_STATUS for
371 * backward compatibility.
328 * @NL80211_CMD_SET_CQM: Connection quality monitor configuration. This command 372 * @NL80211_CMD_SET_CQM: Connection quality monitor configuration. This command
329 * is used to configure connection quality monitoring notification trigger 373 * is used to configure connection quality monitoring notification trigger
330 * levels. 374 * levels.
@@ -429,9 +473,12 @@ enum nl80211_commands {
429 473
430 NL80211_CMD_SET_TX_BITRATE_MASK, 474 NL80211_CMD_SET_TX_BITRATE_MASK,
431 475
432 NL80211_CMD_REGISTER_ACTION, 476 NL80211_CMD_REGISTER_FRAME,
433 NL80211_CMD_ACTION, 477 NL80211_CMD_REGISTER_ACTION = NL80211_CMD_REGISTER_FRAME,
434 NL80211_CMD_ACTION_TX_STATUS, 478 NL80211_CMD_FRAME,
479 NL80211_CMD_ACTION = NL80211_CMD_FRAME,
480 NL80211_CMD_FRAME_TX_STATUS,
481 NL80211_CMD_ACTION_TX_STATUS = NL80211_CMD_FRAME_TX_STATUS,
435 482
436 NL80211_CMD_SET_POWER_SAVE, 483 NL80211_CMD_SET_POWER_SAVE,
437 NL80211_CMD_GET_POWER_SAVE, 484 NL80211_CMD_GET_POWER_SAVE,
@@ -708,7 +755,16 @@ enum nl80211_commands {
708 * is used with %NL80211_CMD_SET_TX_BITRATE_MASK. 755 * is used with %NL80211_CMD_SET_TX_BITRATE_MASK.
709 * 756 *
710 * @NL80211_ATTR_FRAME_MATCH: A binary attribute which typically must contain 757 * @NL80211_ATTR_FRAME_MATCH: A binary attribute which typically must contain
711 * at least one byte, currently used with @NL80211_CMD_REGISTER_ACTION. 758 * at least one byte, currently used with @NL80211_CMD_REGISTER_FRAME.
759 * @NL80211_ATTR_FRAME_TYPE: A u16 indicating the frame type/subtype for the
760 * @NL80211_CMD_REGISTER_FRAME command.
761 * @NL80211_ATTR_TX_FRAME_TYPES: wiphy capability attribute, which is a
762 * nested attribute of %NL80211_ATTR_FRAME_TYPE attributes, containing
763 * information about which frame types can be transmitted with
764 * %NL80211_CMD_FRAME.
765 * @NL80211_ATTR_RX_FRAME_TYPES: wiphy capability attribute, which is a
766 * nested attribute of %NL80211_ATTR_FRAME_TYPE attributes, containing
767 * information about which frame types can be registered for RX.
712 * 768 *
713 * @NL80211_ATTR_ACK: Flag attribute indicating that the frame was 769 * @NL80211_ATTR_ACK: Flag attribute indicating that the frame was
714 * acknowledged by the recipient. 770 * acknowledged by the recipient.
@@ -891,6 +947,10 @@ enum nl80211_attrs {
891 NL80211_ATTR_WIPHY_TX_POWER_SETTING, 947 NL80211_ATTR_WIPHY_TX_POWER_SETTING,
892 NL80211_ATTR_WIPHY_TX_POWER_LEVEL, 948 NL80211_ATTR_WIPHY_TX_POWER_LEVEL,
893 949
950 NL80211_ATTR_TX_FRAME_TYPES,
951 NL80211_ATTR_RX_FRAME_TYPES,
952 NL80211_ATTR_FRAME_TYPE,
953
894 /* add attributes here, update the policy in nl80211.c */ 954 /* add attributes here, update the policy in nl80211.c */
895 955
896 __NL80211_ATTR_AFTER_LAST, 956 __NL80211_ATTR_AFTER_LAST,
@@ -947,7 +1007,7 @@ enum nl80211_attrs {
947 * @NL80211_IFTYPE_MONITOR: monitor interface receiving all frames 1007 * @NL80211_IFTYPE_MONITOR: monitor interface receiving all frames
948 * @NL80211_IFTYPE_MESH_POINT: mesh point 1008 * @NL80211_IFTYPE_MESH_POINT: mesh point
949 * @NL80211_IFTYPE_MAX: highest interface type number currently defined 1009 * @NL80211_IFTYPE_MAX: highest interface type number currently defined
950 * @__NL80211_IFTYPE_AFTER_LAST: internal use 1010 * @NUM_NL80211_IFTYPES: number of defined interface types
951 * 1011 *
952 * These values are used with the %NL80211_ATTR_IFTYPE 1012 * These values are used with the %NL80211_ATTR_IFTYPE
953 * to set the type of an interface. 1013 * to set the type of an interface.
@@ -964,8 +1024,8 @@ enum nl80211_iftype {
964 NL80211_IFTYPE_MESH_POINT, 1024 NL80211_IFTYPE_MESH_POINT,
965 1025
966 /* keep last */ 1026 /* keep last */
967 __NL80211_IFTYPE_AFTER_LAST, 1027 NUM_NL80211_IFTYPES,
968 NL80211_IFTYPE_MAX = __NL80211_IFTYPE_AFTER_LAST - 1 1028 NL80211_IFTYPE_MAX = NUM_NL80211_IFTYPES - 1
969}; 1029};
970 1030
971/** 1031/**
@@ -974,11 +1034,14 @@ enum nl80211_iftype {
974 * Station flags. When a station is added to an AP interface, it is 1034 * Station flags. When a station is added to an AP interface, it is
975 * assumed to be already associated (and hence authenticated.) 1035 * assumed to be already associated (and hence authenticated.)
976 * 1036 *
1037 * @__NL80211_STA_FLAG_INVALID: attribute number 0 is reserved
977 * @NL80211_STA_FLAG_AUTHORIZED: station is authorized (802.1X) 1038 * @NL80211_STA_FLAG_AUTHORIZED: station is authorized (802.1X)
978 * @NL80211_STA_FLAG_SHORT_PREAMBLE: station is capable of receiving frames 1039 * @NL80211_STA_FLAG_SHORT_PREAMBLE: station is capable of receiving frames
979 * with short barker preamble 1040 * with short barker preamble
980 * @NL80211_STA_FLAG_WME: station is WME/QoS capable 1041 * @NL80211_STA_FLAG_WME: station is WME/QoS capable
981 * @NL80211_STA_FLAG_MFP: station uses management frame protection 1042 * @NL80211_STA_FLAG_MFP: station uses management frame protection
1043 * @NL80211_STA_FLAG_MAX: highest station flag number currently defined
1044 * @__NL80211_STA_FLAG_AFTER_LAST: internal use
982 */ 1045 */
983enum nl80211_sta_flags { 1046enum nl80211_sta_flags {
984 __NL80211_STA_FLAG_INVALID, 1047 __NL80211_STA_FLAG_INVALID,
@@ -1091,14 +1154,17 @@ enum nl80211_mpath_flags {
1091 * information about a mesh path. 1154 * information about a mesh path.
1092 * 1155 *
1093 * @__NL80211_MPATH_INFO_INVALID: attribute number 0 is reserved 1156 * @__NL80211_MPATH_INFO_INVALID: attribute number 0 is reserved
1094 * @NL80211_ATTR_MPATH_FRAME_QLEN: number of queued frames for this destination 1157 * @NL80211_MPATH_INFO_FRAME_QLEN: number of queued frames for this destination
1095 * @NL80211_ATTR_MPATH_SN: destination sequence number 1158 * @NL80211_MPATH_INFO_SN: destination sequence number
1096 * @NL80211_ATTR_MPATH_METRIC: metric (cost) of this mesh path 1159 * @NL80211_MPATH_INFO_METRIC: metric (cost) of this mesh path
1097 * @NL80211_ATTR_MPATH_EXPTIME: expiration time for the path, in msec from now 1160 * @NL80211_MPATH_INFO_EXPTIME: expiration time for the path, in msec from now
1098 * @NL80211_ATTR_MPATH_FLAGS: mesh path flags, enumerated in 1161 * @NL80211_MPATH_INFO_FLAGS: mesh path flags, enumerated in
1099 * &enum nl80211_mpath_flags; 1162 * &enum nl80211_mpath_flags;
1100 * @NL80211_ATTR_MPATH_DISCOVERY_TIMEOUT: total path discovery timeout, in msec 1163 * @NL80211_MPATH_INFO_DISCOVERY_TIMEOUT: total path discovery timeout, in msec
1101 * @NL80211_ATTR_MPATH_DISCOVERY_RETRIES: mesh path discovery retries 1164 * @NL80211_MPATH_INFO_DISCOVERY_RETRIES: mesh path discovery retries
1165 * @NL80211_MPATH_INFO_MAX: highest mesh path information attribute number
1166 * currently defind
1167 * @__NL80211_MPATH_INFO_AFTER_LAST: internal use
1102 */ 1168 */
1103enum nl80211_mpath_info { 1169enum nl80211_mpath_info {
1104 __NL80211_MPATH_INFO_INVALID, 1170 __NL80211_MPATH_INFO_INVALID,
@@ -1127,6 +1193,8 @@ enum nl80211_mpath_info {
1127 * @NL80211_BAND_ATTR_HT_CAPA: HT capabilities, as in the HT information IE 1193 * @NL80211_BAND_ATTR_HT_CAPA: HT capabilities, as in the HT information IE
1128 * @NL80211_BAND_ATTR_HT_AMPDU_FACTOR: A-MPDU factor, as in 11n 1194 * @NL80211_BAND_ATTR_HT_AMPDU_FACTOR: A-MPDU factor, as in 11n
1129 * @NL80211_BAND_ATTR_HT_AMPDU_DENSITY: A-MPDU density, as in 11n 1195 * @NL80211_BAND_ATTR_HT_AMPDU_DENSITY: A-MPDU density, as in 11n
1196 * @NL80211_BAND_ATTR_MAX: highest band attribute currently defined
1197 * @__NL80211_BAND_ATTR_AFTER_LAST: internal use
1130 */ 1198 */
1131enum nl80211_band_attr { 1199enum nl80211_band_attr {
1132 __NL80211_BAND_ATTR_INVALID, 1200 __NL80211_BAND_ATTR_INVALID,
@@ -1147,6 +1215,7 @@ enum nl80211_band_attr {
1147 1215
1148/** 1216/**
1149 * enum nl80211_frequency_attr - frequency attributes 1217 * enum nl80211_frequency_attr - frequency attributes
1218 * @__NL80211_FREQUENCY_ATTR_INVALID: attribute number 0 is reserved
1150 * @NL80211_FREQUENCY_ATTR_FREQ: Frequency in MHz 1219 * @NL80211_FREQUENCY_ATTR_FREQ: Frequency in MHz
1151 * @NL80211_FREQUENCY_ATTR_DISABLED: Channel is disabled in current 1220 * @NL80211_FREQUENCY_ATTR_DISABLED: Channel is disabled in current
1152 * regulatory domain. 1221 * regulatory domain.
@@ -1158,6 +1227,9 @@ enum nl80211_band_attr {
1158 * on this channel in current regulatory domain. 1227 * on this channel in current regulatory domain.
1159 * @NL80211_FREQUENCY_ATTR_MAX_TX_POWER: Maximum transmission power in mBm 1228 * @NL80211_FREQUENCY_ATTR_MAX_TX_POWER: Maximum transmission power in mBm
1160 * (100 * dBm). 1229 * (100 * dBm).
1230 * @NL80211_FREQUENCY_ATTR_MAX: highest frequency attribute number
1231 * currently defined
1232 * @__NL80211_FREQUENCY_ATTR_AFTER_LAST: internal use
1161 */ 1233 */
1162enum nl80211_frequency_attr { 1234enum nl80211_frequency_attr {
1163 __NL80211_FREQUENCY_ATTR_INVALID, 1235 __NL80211_FREQUENCY_ATTR_INVALID,
@@ -1177,9 +1249,13 @@ enum nl80211_frequency_attr {
1177 1249
1178/** 1250/**
1179 * enum nl80211_bitrate_attr - bitrate attributes 1251 * enum nl80211_bitrate_attr - bitrate attributes
1252 * @__NL80211_BITRATE_ATTR_INVALID: attribute number 0 is reserved
1180 * @NL80211_BITRATE_ATTR_RATE: Bitrate in units of 100 kbps 1253 * @NL80211_BITRATE_ATTR_RATE: Bitrate in units of 100 kbps
1181 * @NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE: Short preamble supported 1254 * @NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE: Short preamble supported
1182 * in 2.4 GHz band. 1255 * in 2.4 GHz band.
1256 * @NL80211_BITRATE_ATTR_MAX: highest bitrate attribute number
1257 * currently defined
1258 * @__NL80211_BITRATE_ATTR_AFTER_LAST: internal use
1183 */ 1259 */
1184enum nl80211_bitrate_attr { 1260enum nl80211_bitrate_attr {
1185 __NL80211_BITRATE_ATTR_INVALID, 1261 __NL80211_BITRATE_ATTR_INVALID,
@@ -1235,6 +1311,7 @@ enum nl80211_reg_type {
1235 1311
1236/** 1312/**
1237 * enum nl80211_reg_rule_attr - regulatory rule attributes 1313 * enum nl80211_reg_rule_attr - regulatory rule attributes
1314 * @__NL80211_REG_RULE_ATTR_INVALID: attribute number 0 is reserved
1238 * @NL80211_ATTR_REG_RULE_FLAGS: a set of flags which specify additional 1315 * @NL80211_ATTR_REG_RULE_FLAGS: a set of flags which specify additional
1239 * considerations for a given frequency range. These are the 1316 * considerations for a given frequency range. These are the
1240 * &enum nl80211_reg_rule_flags. 1317 * &enum nl80211_reg_rule_flags.
@@ -1251,6 +1328,9 @@ enum nl80211_reg_type {
1251 * If you don't have one then don't send this. 1328 * If you don't have one then don't send this.
1252 * @NL80211_ATTR_POWER_RULE_MAX_EIRP: the maximum allowed EIRP for 1329 * @NL80211_ATTR_POWER_RULE_MAX_EIRP: the maximum allowed EIRP for
1253 * a given frequency range. The value is in mBm (100 * dBm). 1330 * a given frequency range. The value is in mBm (100 * dBm).
1331 * @NL80211_REG_RULE_ATTR_MAX: highest regulatory rule attribute number
1332 * currently defined
1333 * @__NL80211_REG_RULE_ATTR_AFTER_LAST: internal use
1254 */ 1334 */
1255enum nl80211_reg_rule_attr { 1335enum nl80211_reg_rule_attr {
1256 __NL80211_REG_RULE_ATTR_INVALID, 1336 __NL80211_REG_RULE_ATTR_INVALID,
@@ -1302,6 +1382,9 @@ enum nl80211_reg_rule_flags {
1302 * @__NL80211_SURVEY_INFO_INVALID: attribute number 0 is reserved 1382 * @__NL80211_SURVEY_INFO_INVALID: attribute number 0 is reserved
1303 * @NL80211_SURVEY_INFO_FREQUENCY: center frequency of channel 1383 * @NL80211_SURVEY_INFO_FREQUENCY: center frequency of channel
1304 * @NL80211_SURVEY_INFO_NOISE: noise level of channel (u8, dBm) 1384 * @NL80211_SURVEY_INFO_NOISE: noise level of channel (u8, dBm)
1385 * @NL80211_SURVEY_INFO_MAX: highest survey info attribute number
1386 * currently defined
1387 * @__NL80211_SURVEY_INFO_AFTER_LAST: internal use
1305 */ 1388 */
1306enum nl80211_survey_info { 1389enum nl80211_survey_info {
1307 __NL80211_SURVEY_INFO_INVALID, 1390 __NL80211_SURVEY_INFO_INVALID,
@@ -1466,6 +1549,7 @@ enum nl80211_channel_type {
1466 * enum nl80211_bss - netlink attributes for a BSS 1549 * enum nl80211_bss - netlink attributes for a BSS
1467 * 1550 *
1468 * @__NL80211_BSS_INVALID: invalid 1551 * @__NL80211_BSS_INVALID: invalid
1552 * @NL80211_BSS_BSSID: BSSID of the BSS (6 octets)
1469 * @NL80211_BSS_FREQUENCY: frequency in MHz (u32) 1553 * @NL80211_BSS_FREQUENCY: frequency in MHz (u32)
1470 * @NL80211_BSS_TSF: TSF of the received probe response/beacon (u64) 1554 * @NL80211_BSS_TSF: TSF of the received probe response/beacon (u64)
1471 * @NL80211_BSS_BEACON_INTERVAL: beacon interval of the (I)BSS (u16) 1555 * @NL80211_BSS_BEACON_INTERVAL: beacon interval of the (I)BSS (u16)
@@ -1509,6 +1593,12 @@ enum nl80211_bss {
1509 1593
1510/** 1594/**
1511 * enum nl80211_bss_status - BSS "status" 1595 * enum nl80211_bss_status - BSS "status"
1596 * @NL80211_BSS_STATUS_AUTHENTICATED: Authenticated with this BSS.
1597 * @NL80211_BSS_STATUS_ASSOCIATED: Associated with this BSS.
1598 * @NL80211_BSS_STATUS_IBSS_JOINED: Joined to this IBSS.
1599 *
1600 * The BSS status is a BSS attribute in scan dumps, which
1601 * indicates the status the interface has wrt. this BSS.
1512 */ 1602 */
1513enum nl80211_bss_status { 1603enum nl80211_bss_status {
1514 NL80211_BSS_STATUS_AUTHENTICATED, 1604 NL80211_BSS_STATUS_AUTHENTICATED,
@@ -1619,8 +1709,8 @@ enum nl80211_tx_rate_attributes {
1619 1709
1620/** 1710/**
1621 * enum nl80211_band - Frequency band 1711 * enum nl80211_band - Frequency band
1622 * @NL80211_BAND_2GHZ - 2.4 GHz ISM band 1712 * @NL80211_BAND_2GHZ: 2.4 GHz ISM band
1623 * @NL80211_BAND_5GHZ - around 5 GHz band (4.9 - 5.7 GHz) 1713 * @NL80211_BAND_5GHZ: around 5 GHz band (4.9 - 5.7 GHz)
1624 */ 1714 */
1625enum nl80211_band { 1715enum nl80211_band {
1626 NL80211_BAND_2GHZ, 1716 NL80211_BAND_2GHZ,
@@ -1658,9 +1748,9 @@ enum nl80211_attr_cqm {
1658 1748
1659/** 1749/**
1660 * enum nl80211_cqm_rssi_threshold_event - RSSI threshold event 1750 * enum nl80211_cqm_rssi_threshold_event - RSSI threshold event
1661 * @NL80211_CQM_RSSI_THRESHOLD_EVENT_LOW - The RSSI level is lower than the 1751 * @NL80211_CQM_RSSI_THRESHOLD_EVENT_LOW: The RSSI level is lower than the
1662 * configured threshold 1752 * configured threshold
1663 * @NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH - The RSSI is higher than the 1753 * @NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH: The RSSI is higher than the
1664 * configured threshold 1754 * configured threshold
1665 */ 1755 */
1666enum nl80211_cqm_rssi_threshold_event { 1756enum nl80211_cqm_rssi_threshold_event {
diff --git a/include/linux/ssb/ssb_regs.h b/include/linux/ssb/ssb_regs.h
index a6d5225b9275..11daf9c140e7 100644
--- a/include/linux/ssb/ssb_regs.h
+++ b/include/linux/ssb/ssb_regs.h
@@ -97,6 +97,7 @@
97#define SSB_TMSLOW_RESET 0x00000001 /* Reset */ 97#define SSB_TMSLOW_RESET 0x00000001 /* Reset */
98#define SSB_TMSLOW_REJECT_22 0x00000002 /* Reject (Backplane rev 2.2) */ 98#define SSB_TMSLOW_REJECT_22 0x00000002 /* Reject (Backplane rev 2.2) */
99#define SSB_TMSLOW_REJECT_23 0x00000004 /* Reject (Backplane rev 2.3) */ 99#define SSB_TMSLOW_REJECT_23 0x00000004 /* Reject (Backplane rev 2.3) */
100#define SSB_TMSLOW_PHYCLK 0x00000010 /* MAC PHY Clock Control Enable */
100#define SSB_TMSLOW_CLOCK 0x00010000 /* Clock Enable */ 101#define SSB_TMSLOW_CLOCK 0x00010000 /* Clock Enable */
101#define SSB_TMSLOW_FGC 0x00020000 /* Force Gated Clocks On */ 102#define SSB_TMSLOW_FGC 0x00020000 /* Force Gated Clocks On */
102#define SSB_TMSLOW_PE 0x40000000 /* Power Management Enable */ 103#define SSB_TMSLOW_PE 0x40000000 /* Power Management Enable */