cfg80211_testmode_alloc_reply_skb(9) [centos man page]
CFG80211_TESTMODE_AL(9) Test mode CFG80211_TESTMODE_AL(9)NAME
cfg80211_testmode_alloc_reply_skb - allocate testmode reply
SYNOPSIS
struct sk_buff * cfg80211_testmode_alloc_reply_skb(struct wiphy * wiphy, int approxlen);
ARGUMENTS
wiphy
the wiphy
approxlen
an upper bound of the length of the data that will be put into the skb
DESCRIPTION
This function allocates and pre-fills an skb for a reply to the testmode command. Since it is intended for a reply, calling it outside of
the testmode_cmd operation is invalid.
The returned skb is pre-filled with the wiphy index and set up in a way that any data that is put into the skb (with skb_put, nla_put or
similar) will end up being within the NL80211_ATTR_TESTDATA attribute, so all that needs to be done with the skb is adding data for the
corresponding userspace tool which can then read that data out of the testdata attribute. You must not modify the skb in any other way.
When done, call cfg80211_testmode_reply with the skb and return its error code as the result of the testmode_cmd operation.
RETURN
An allocated and pre-filled skb. NULL if any errors happen.
AUTHOR
Johannes Berg <johannes@sipsolutions.net>
Author.
COPYRIGHT Kernel Hackers Manual 3.10 June 2014 CFG80211_TESTMODE_AL(9)
Check Out this Related Man Page
REGULATORY_HINT(9) Regulatory enforcement infrast REGULATORY_HINT(9)NAME
regulatory_hint - driver hint to the wireless core a regulatory domain
SYNOPSIS
int regulatory_hint(struct wiphy * wiphy, const char * alpha2);
ARGUMENTS
wiphy
the wireless device giving the hint (used only for reporting conflicts)
alpha2
the ISO/IEC 3166 alpha2 the driver claims its regulatory domain should be in. If rd is set this should be NULL. Note that if you set
this to NULL you should still set rd->alpha2 to some accepted alpha2.
DESCRIPTION
Wireless drivers can use this function to hint to the wireless core what it believes should be the current regulatory domain by giving it
an ISO/IEC 3166 alpha2 country code it knows its regulatory domain should be in or by providing a completely build regulatory domain. If
the driver provides an ISO/IEC 3166 alpha2 userspace will be queried for a regulatory domain structure for the respective country.
The wiphy must have been registered to cfg80211 prior to this call. For cfg80211 drivers this means you must first use wiphy_register, for
mac80211 drivers you must first use ieee80211_register_hw.
Drivers should check the return value, its possible you can get an -ENOMEM.
RETURN
0 on success. -ENOMEM.
AUTHOR
Johannes Berg <johannes@sipsolutions.net>
Author.
COPYRIGHT Kernel Hackers Manual 3.10 June 2014 REGULATORY_HINT(9)
Hi,
In a file I have data like...
-rw-r----- 1 ftpuser users 1036695 Jul 6 14:59 ./APRIL 2007/Ujjain/My Disc (D)/9565DW07.04B
-rw-r----- 1 ftpuser users 124080 Jul 6 14:59 ./APRIL 2007/Vadodara/vad_APRIL07/2082DW07.04B
The above data is extracted using "find . -name... (12 Replies)
Hi all,
I have put a query in a thread but didn't get any reply. Hoping to get a reply here.
I have a file in that one line resembles like below...
Forwarded by Deepak on 11/15/2009 10:28 AM EST
ofcourse AM can be PM also...
so what i need is first i need to get only... (1 Reply)
hi everybody,
I need some help with some programming.
I need to write a file that can search in a text file and read the whole line into a struct.
the struct =
struct Transistor
{
char chType;
char chFabrikant;
float fPrijs;
enum Transistor_Behuizing { empty,TO18, TO39,... (8 Replies)
I need some help with this code below, i doesnt know why it will run twice with my function, but my function only got if else, any other way that can read line and put into array?
while read line; do
read -A array <<<$line
n=${#array}
for ((i=1;i<$n;i++)); do
print... (1 Reply)
How to pre-append a variable string to each line in a file contains both single and double quotes?
The variable string has no quotes in it.
thank you very much.
:confused: (8 Replies)