This kerneldoc is updated daily based on the wireless-2.6 everything branch.
enum ieee80211_packet_rx_flags
enum ieee80211_packet_rx_flags {IEEE80211_RX_IN_SCAN,
IEEE80211_RX_RA_MATCH,
IEEE80211_RX_FRAGMENTED,
IEEE80211_RX_AMSDU,
IEEE80211_RX_MALFORMED_ACTION_FRM,
IEEE80211_RX_DEFERRED_RELEASE
};
Constants
- IEEE80211_RX_IN_SCAN
- received while scanning
- IEEE80211_RX_RA_MATCH
- frame is destined to interface currently processed (incl. multicast frames)
- IEEE80211_RX_FRAGMENTED
- fragmented frame
- IEEE80211_RX_AMSDU
- a-MSDU packet
- IEEE80211_RX_MALFORMED_ACTION_FRM
- action frame is malformed
- IEEE80211_RX_DEFERRED_RELEASE
- frame was subjected to receive reordering
Description
These are per-frame flags that are attached to a frame in the rx_flags field of struct ieee80211_rx_status.
enum ieee80211_rx_flags
enum ieee80211_rx_flags {IEEE80211_RX_CMNTR,
IEEE80211_RX_BEACON_REPORTED
};
Constants
- IEEE80211_RX_CMNTR
- received on cooked monitor already
- IEEE80211_RX_BEACON_REPORTED
- This frame was already reported to cfg80211_report_obss_beacon.
Description
These flags are used across handling multiple interfaces for a single frame.
enum work_done_result
enum work_done_result {WORK_DONE_DESTROY,
WORK_DONE_REQUEUE
};
Constants
- WORK_DONE_DESTROY
- This work item is no longer needed, destroy.
- WORK_DONE_REQUEUE
- This work item was reset to be reused, and should be requeued.
enum ieee80211_sub_if_data_flags
enum ieee80211_sub_if_data_flags {IEEE80211_SDATA_ALLMULTI,
IEEE80211_SDATA_PROMISC,
IEEE80211_SDATA_OPERATING_GMODE,
IEEE80211_SDATA_DONT_BRIDGE_PACKETS,
IEEE80211_SDATA_DISCONNECT_RESUME,
IEEE80211_SDATA_IN_DRIVER
};
Constants
- IEEE80211_SDATA_ALLMULTI
- interface wants all multicast packets
- IEEE80211_SDATA_PROMISC
- interface is promisc
- IEEE80211_SDATA_OPERATING_GMODE
- operating in G-only mode
- IEEE80211_SDATA_DONT_BRIDGE_PACKETS
- bridge packets between associated stations and deliver multicast frames both back to wireless media and to the local net stack.
- IEEE80211_SDATA_DISCONNECT_RESUME
- Disconnect after resume.
- IEEE80211_SDATA_IN_DRIVER
- indicates interface was added to driver
enum ieee80211_sdata_state_bits
enum ieee80211_sdata_state_bits {SDATA_STATE_RUNNING,
SDATA_STATE_OFFCHANNEL
};
Constants
- SDATA_STATE_RUNNING
- virtual interface is up & running; this mirrors netif_running but is separate for interface type change handling while the interface is up
- SDATA_STATE_OFFCHANNEL
- This interface is currently in offchannel mode, so queues are stopped
enum mac80211_scan_state
enum mac80211_scan_state {SCAN_DECISION,
SCAN_SET_CHANNEL,
SCAN_SEND_PROBE,
SCAN_SUSPEND,
SCAN_RESUME
};
Constants
- SCAN_DECISION
- Main entry point to the scan state machine, this state determines if we should keep on scanning or switch back to the operating channel
- SCAN_SET_CHANNEL
- Set the next channel to be scanned
- SCAN_SEND_PROBE
- Send probe requests and wait for probe responses
- SCAN_SUSPEND
- Suspend the scan and go back to operating channel to send out data
- SCAN_RESUME
- Resume the scan and scan the next channel