---
name: "cfg80211_check_combinations"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/cfg80211_check_combinations"
---

# cfg80211\_check\_combinations(9)

check interface combinations

## NAME

cfg80211\_check\_combinations - check interface combinations

## SYNOPSIS

**int cfg80211\_check\_combinations(struct wiphy \*** *wiphy***, const int** *num\_different\_channels***, const u8** *radar\_detect***, const int** *iftype\_num\[NUM\_NL80211\_IFTYPES\]***);**

## ARGUMENTS

*wiphy*

the wiphy

*num\_different\_channels*

the number of different channels we want to use for verification

*radar\_detect*

a bitmap where each bit corresponds to a channel width where radar detection is needed, as in the definition of struct ieee80211\_iface\_combination.*radar\_detect\_widths*

*iftype\_num\[NUM\_NL80211\_IFTYPES\]*

array with the numbers of interfaces of each interface type. The index is the interface type as specified in enum nl80211\_iftype.

## DESCRIPTION

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.

## AUTHOR

**Johannes Berg** \<johannes@sipsolutions.net\>

Author.

## COPYRIGHT
