cfg80211_rx_mgmt(9)

cfg80211_rx_mgmt9

Notification of received, unprocessed management frame

Usage

bool cfg80211_rx_mgmt(struct wireless_dev * wdev, int freq, int sig_dbm, const u8 * buf, size_t len, u32 flags, gfp_t gfp);

Arguments

wdev

wireless device receiving the frame

freq

Frequency on which the frame was received in MHz

sig_dbm

signal strength in mBm, or 0 if unknown

buf

Management frame (header + body)

len

length of the frame data

flags

flags, as defined in enum nl80211_rxmgmt_flags

gfp

context flags

Overview

This function is called whenever an Action frame is received for a station mode interface, but is not processed in kernel.

Return

true if a user space application has registered for this frame. For action frames, that makes it responsible for rejecting unrecognized action frames; false otherwise, in which case for action frames the driver is responsible for rejecting the frame.

Releases

2 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7
  2. 8

Author

Johannes Berg <[email protected]>

Author.

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.