Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ieee80211_sta_set_buffered(9) [centos man page]

IEEE80211_STA_SET_BU(9) 				     Advanced driver interface					   IEEE80211_STA_SET_BU(9)

NAME
ieee80211_sta_set_buffered - inform mac80211 about driver-buffered frames SYNOPSIS
void ieee80211_sta_set_buffered(struct ieee80211_sta * sta, u8 tid, bool buffered); ARGUMENTS
sta struct ieee80211_sta pointer for the sleeping station tid the TID that has buffered frames buffered indicates whether or not frames are buffered for this TID DESCRIPTION
If a driver buffers frames for a powersave station instead of passing them back to mac80211 for retransmission, the station may still need to be told that there are buffered frames via the TIM bit. This function informs mac80211 whether or not there are frames that are buffered in the driver for a given TID; mac80211 can then use this data to set the TIM bit (NOTE: This may call back into the driver's set_tim call! Beware of the locking!) If all frames are released to the station (due to PS-poll or uAPSD) then the driver needs to inform mac80211 that there no longer are frames buffered. However, when the station wakes up mac80211 assumes that all buffered frames will be transmitted and clears this data, drivers need to make sure they inform mac80211 about all buffered frames on the sleep transition (sta_notify with STA_NOTIFY_SLEEP). Note that technically mac80211 only needs to know this per AC, not per TID, but since driver buffering will inevitably happen per TID (since it is related to aggregation) it is easier to make mac80211 map the TID to the AC as required instead of keeping track in all drivers that use this API. AUTHOR
Johannes Berg <johannes@sipsolutions.net> Author. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 IEEE80211_STA_SET_BU(9)

Check Out this Related Man Page

IEEE80211_STA_BLOCK_(9) 				     Advanced driver interface					   IEEE80211_STA_BLOCK_(9)

NAME
ieee80211_sta_block_awake - block station from waking up SYNOPSIS
void ieee80211_sta_block_awake(struct ieee80211_hw * hw, struct ieee80211_sta * pubsta, bool block); ARGUMENTS
hw the hardware pubsta the station block whether to block or unblock DESCRIPTION
Some devices require that all frames that are on the queues for a specific station that went to sleep are flushed before a poll response or frames after the station woke up can be delivered to that it. Note that such frames must be rejected by the driver as filtered, with the appropriate status flag. This function allows implementing this mode in a race-free manner. To do this, a driver must keep track of the number of frames still enqueued for a specific station. If this number is not zero when the station goes to sleep, the driver must call this function to force mac80211 to consider the station to be asleep regardless of the station's actual state. Once the number of outstanding frames reaches zero, the driver must call this function again to unblock the station. That will cause mac80211 to be able to send ps-poll responses, and if the station queried in the meantime then frames will also be sent out as a result of this. Additionally, the driver will be notified that the station woke up some time after it is unblocked, regardless of whether the station actually woke up while blocked or not. AUTHOR
Johannes Berg <johannes@sipsolutions.net> Author. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 IEEE80211_STA_BLOCK_(9)
Man Page

8 More Discussions You Might Find Interesting

1. Solaris

SUN station memory problem

The problem is that I use this station as a remote computer for an AOI Orbotech machine and in the root of the station there is no memory available and on the refmgr folder on the same station there are 5GB free memory. So if anyone knows how can I free some space and not damaging the root files,... (0 Replies)
Discussion started by: Dac
0 Replies

2. Shell Programming and Scripting

Synchronizing files using an input file

Who wants a challenge? ;) I have a Multimedia station (Damn Small Linux) that plays Video files using MPlayer. I'm in desperate need of a Script that would be able to do the following: The Multimedia station should read, at boot or through a cron job, a "Playlist" file on a remote machine.... (1 Reply)
Discussion started by: mkoenders
1 Replies

3. UNIX Desktop Questions & Answers

What is buffered output?

ie: man cat .... - u The output is not buffered (3 Replies)
Discussion started by: Xcislav
3 Replies

4. Shell Programming and Scripting

multiple search keyword in grep

Dear All, I have a file containing info like TID:0903 asdfasldjflsdjf TID:0945 hjhjhkhkhkh TID:2045 hjhjhkhkhkh TID:1945 hjhjhkhkhkh TID:2045 hjhjhkhkhkh I need to show only lines containing TID:0903 asdfasldjflsdjf TID:0945 hjhjhkhkhkh TID:2045 hjhjhkhkhkh TID:2045 hjhjhkhkhkh ... (11 Replies)
Discussion started by: saifurshaon
11 Replies

5. Shell Programming and Scripting

Script Optimization required

Dear All, Sorry to bother you. But I tried the below problem but didn't come up a good solution. A have a file containing such info 2009-03-14 22:01:01,430 :: 2009-03-14 22:05:01,430 :: I need to show simply 22:01:01, 568, 181, 472 22:05:01, 903, 458, 572 that is time, TID,... (11 Replies)
Discussion started by: saifurshaon
11 Replies

6. Shell Programming and Scripting

How to put html frames in for loop in perl?

Hi, I have to insert html frames in for loop. Here is the code. for($k=0;$k<3;$k++) { print<<HTML; <html> <head> <title> HTML Horizontal Frames </title> </head> <frameset cols="25%,75%"> <frame src="a.html"> <frame src="b.html"> </frameset> (0 Replies)
Discussion started by: vanitham
0 Replies

7. UNIX for Dummies Questions & Answers

Comparing the characters of 2 variables

hi i am writing a hangman script and am having trouble checking the correct letters against the word i need the script to compare the word against the letters guessed that are correct so once all the letters within the word have been guessed it will alow me to create a wining senario eg ... (13 Replies)
Discussion started by: lsecer
13 Replies

8. What is on Your Mind?

Home broadcasting station

Hi all, I have been searching application for setup a home broadcasting station via Internet. Follows are my search result; Freevo, GeeXboX, Auto-RadioX, Red5, CeBIT, Open Broadcaster etc. I haven't had any experience on their selection. Please shed me some light. Besides where can I find... (3 Replies)
Discussion started by: satimis
3 Replies