.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * This file is part of wl18xx |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2011 Texas Instruments |
---|
5 | | - * |
---|
6 | | - * This program is free software; you can redistribute it and/or |
---|
7 | | - * modify it under the terms of the GNU General Public License |
---|
8 | | - * version 2 as published by the Free Software Foundation. |
---|
9 | | - * |
---|
10 | | - * This program is distributed in the hope that it will be useful, but |
---|
11 | | - * WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
12 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
13 | | - * General Public License for more details. |
---|
14 | | - * |
---|
15 | | - * You should have received a copy of the GNU General Public License |
---|
16 | | - * along with this program; if not, write to the Free Software |
---|
17 | | - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA |
---|
18 | | - * 02110-1301 USA |
---|
19 | | - * |
---|
20 | 6 | */ |
---|
21 | 7 | |
---|
22 | 8 | #include <linux/module.h> |
---|
.. | .. |
---|
1855 | 1841 | .types = BIT(NL80211_IFTYPE_MESH_POINT), |
---|
1856 | 1842 | }, |
---|
1857 | 1843 | #endif |
---|
1858 | | - { |
---|
1859 | | - .max = 1, |
---|
1860 | | - .types = BIT(NL80211_IFTYPE_P2P_DEVICE), |
---|
1861 | | - }, |
---|
1862 | | -}; |
---|
1863 | | - |
---|
1864 | | -static const struct ieee80211_iface_limit wl18xx_iface_ap_cl_limits[] = { |
---|
1865 | | - { |
---|
1866 | | - .max = 1, |
---|
1867 | | - .types = BIT(NL80211_IFTYPE_STATION), |
---|
1868 | | - }, |
---|
1869 | | - { |
---|
1870 | | - .max = 1, |
---|
1871 | | - .types = BIT(NL80211_IFTYPE_AP), |
---|
1872 | | - }, |
---|
1873 | | - { |
---|
1874 | | - .max = 1, |
---|
1875 | | - .types = BIT(NL80211_IFTYPE_P2P_CLIENT), |
---|
1876 | | - }, |
---|
1877 | | - { |
---|
1878 | | - .max = 1, |
---|
1879 | | - .types = BIT(NL80211_IFTYPE_P2P_DEVICE), |
---|
1880 | | - }, |
---|
1881 | | -}; |
---|
1882 | | - |
---|
1883 | | -static const struct ieee80211_iface_limit wl18xx_iface_ap_go_limits[] = { |
---|
1884 | | - { |
---|
1885 | | - .max = 1, |
---|
1886 | | - .types = BIT(NL80211_IFTYPE_STATION), |
---|
1887 | | - }, |
---|
1888 | | - { |
---|
1889 | | - .max = 1, |
---|
1890 | | - .types = BIT(NL80211_IFTYPE_AP), |
---|
1891 | | - }, |
---|
1892 | | - { |
---|
1893 | | - .max = 1, |
---|
1894 | | - .types = BIT(NL80211_IFTYPE_P2P_GO), |
---|
1895 | | - }, |
---|
1896 | 1844 | { |
---|
1897 | 1845 | .max = 1, |
---|
1898 | 1846 | .types = BIT(NL80211_IFTYPE_P2P_DEVICE), |
---|