Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 35099
b: refs/heads/master
c: d8e2be9
h: refs/heads/master
i:
  35097: f20b80a
  35095: cd16bc9
v: v3
  • Loading branch information
Daniel Drake authored and John W. Linville committed Jul 27, 2006
1 parent 2ba4801 commit d19f2dc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: eab411f1e850af5acbd6ef278f4e669250f71915
refs/heads/master: d8e2be90d301a0381e9b2528fe2835cf2992bca3
7 changes: 7 additions & 0 deletions trunk/include/net/ieee80211.h
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,11 @@ struct ieee80211_snap_hdr {
#define WLAN_CAPABILITY_SHORT_SLOT_TIME (1<<10)
#define WLAN_CAPABILITY_DSSS_OFDM (1<<13)

/* 802.11g ERP information element */
#define WLAN_ERP_NON_ERP_PRESENT (1<<0)
#define WLAN_ERP_USE_PROTECTION (1<<1)
#define WLAN_ERP_BARKER_PREAMBLE (1<<2)

/* Status codes */
enum ieee80211_statuscode {
WLAN_STATUS_SUCCESS = 0,
Expand Down Expand Up @@ -747,6 +752,8 @@ struct ieee80211_txb {
#define NETWORK_HAS_IBSS_DFS (1<<8)
#define NETWORK_HAS_TPC_REPORT (1<<9)

#define NETWORK_HAS_ERP_VALUE (1<<10)

#define QOS_QUEUE_NUM 4
#define QOS_OUI_LEN 3
#define QOS_OUI_TYPE 2
Expand Down
1 change: 1 addition & 0 deletions trunk/net/ieee80211/ieee80211_rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1166,6 +1166,7 @@ static int ieee80211_parse_info_param(struct ieee80211_info_element

case MFIE_TYPE_ERP_INFO:
network->erp_value = info_element->data[0];
network->flags |= NETWORK_HAS_ERP_VALUE;
IEEE80211_DEBUG_MGMT("MFIE_TYPE_ERP_SET: %d\n",
network->erp_value);
break;
Expand Down

0 comments on commit d19f2dc

Please sign in to comment.