'\" t .\" Title: cfg80211_check_combinations .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Device registration .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "CFG80211_CHECK_COMBI" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Device registration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" cfg80211_check_combinations \- check interface combinations .SH "SYNOPSIS" .HP \w'int\ cfg80211_check_combinations('u .BI "int cfg80211_check_combinations(struct\ wiphy\ *\ " "wiphy" ", const\ int\ " "num_different_channels" ", const\ u8\ " "radar_detect" ", const\ int\ " "iftype_num[NUM_NL80211_IFTYPES]" ");" .SH "ARGUMENTS" .PP \fIwiphy\fR .RS 4 the wiphy .RE .PP \fInum_different_channels\fR .RS 4 the number of different channels we want to use for verification .RE .PP \fIradar_detect\fR .RS 4 a bitmap where each bit corresponds to a channel width where radar detection is needed, as in the definition of struct ieee80211_iface_combination\&.\fIradar_detect_widths\fR .RE .PP \fIiftype_num[NUM_NL80211_IFTYPES]\fR .RS 4 array with the numbers of interfaces of each interface type\&. The index is the interface type as specified in enum nl80211_iftype\&. .RE .SH "DESCRIPTION" .PP This function can be called by the driver to check whether a combination of interfaces and their types are allowed according to the interface combinations\&. .SH "AUTHOR" .PP \fBJohannes Berg\fR <\&johannes@sipsolutions.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br