#include <linux/list.h>
#include <linux/skbuff.h>
#include <linux/if_ether.h>
#include "ieee80211.h"
#include "ath5k_interface.h"
Go to the source code of this file.
enum ieee80211_band |
enum ieee80211_band - supported frequency bands
The bands are assigned this way because the supported bitrates differ in these bands.
: 2.4GHz ISM band : around 5GHz band (4.9-5.7)
IEEE80211_BAND_2GHZ | |
IEEE80211_BAND_5GHZ | |
IEEE80211_NUM_BANDS | |
IEEE80211_BAND_2GHZ | |
IEEE80211_BAND_5GHZ | |
IEEE80211_NUM_BANDS | |
IEEE80211_BAND_2GHZ | |
IEEE80211_BAND_5GHZ | |
IEEE80211_NUM_BANDS |
Definition at line 31 of file linux_us/hwi/ath5k_raw/module/mac80211.h.
enum ieee80211_rate_flags |
enum ieee80211_rate_flags - rate flags
Hardware/specification flags for rates. These are structured in a way that allows using the same bitrate structure for different bands/PHY modes.
: Hardware can send with short preamble on this bitrate; only relevant in 2.4GHz band and with CCK rates. : This bitrate is a mandatory rate when used with 802.11a (on the 5 GHz band); filled by the core code when registering the wiphy. : This bitrate is a mandatory rate when used with 802.11b (on the 2.4 GHz band); filled by the core code when registering the wiphy. : This bitrate is a mandatory rate when used with 802.11g (on the 2.4 GHz band); filled by the core code when registering the wiphy. : This is an ERP rate in 802.11g mode.
IEEE80211_RATE_SHORT_PREAMBLE | |
IEEE80211_RATE_SHORT_PREAMBLE | |
IEEE80211_RATE_SHORT_PREAMBLE |
Definition at line 76 of file linux_us/hwi/ath5k_raw/module/mac80211.h.
enum nl80211_iftype |
enum nl80211_iftype - (virtual) interface types
: unspecified type, driver decides : independent BSS member : managed BSS member : access point : VLAN interface for access points : wireless distribution interface : monitor interface receiving all frames : mesh point : highest interface type number currently defined : internal use
These values are used with the NL80211_ATTR_IFTYPE to set the type of an interface.
Definition at line 159 of file linux_us/hwi/ath5k_raw/module/mac80211.h.
int ath5k_frequency_to_channel | ( | int | freq | ) |
ieee80211_frequency_to_channel - convert frequency to channel number
Definition at line 140 of file linux_ks/hwi/ath5k_raw/module/mac80211.c.
__le16 ath5k_generic_frame_duration | ( | unsigned int | mode, |
bool | short_preamble, | ||
size_t | frame_len, | ||
int | rate | ||
) |
ieee80211_generic_frame_duration - Calculate the duration field for a frame : pointer obtained from ieee80211_alloc_hw(). : &struct ieee80211_vif pointer from &struct ieee80211_if_init_conf. : the length of the frame. : the rate (in 100kbps) at which the frame is going to be transmitted.
Calculate the duration field of some generic frame, given its length and transmission rate (in 100kbps).
Definition at line 127 of file linux_ks/hwi/ath5k_raw/module/mac80211.c.
int ath5k_get_hdrlen_from_skb | ( | const struct sk_buff * | skb | ) |
ieee80211_get_hdrlen_from_skb - get header length from data
Given an skb with a raw 802.11 header at the data pointer this function returns the 802.11 header length in bytes (not including encryption headers). If the data in the sk_buff is too short to contain a valid 802.11 header the function returns 0.
: the frame
Definition at line 60 of file linux_ks/hwi/ath5k_raw/module/mac80211.c.