2つのAtheros Wi-Fiカードで規制ドメインを変更するには?

2つのAtheros Wi-Fiカードで規制ドメインを変更するには?

iw reg getwireless-regdbおよびcdra Debianパッケージをインストールして、許可されたチャンネル44(5220MHz)を正常にマークしました。

root@foo1:~# iw phy phy0 reg get
global
country GB: DFS-ETSI
    (2400 - 2483 @ 40), (N/A, 20), (N/A)
    (5150 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW
    (5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW
    (5470 - 5730 @ 160), (N/A, 26), (0 ms), DFS
    (5725 - 5850 @ 80), (N/A, 23), (N/A), NO-OUTDOOR
    (57000 - 71000 @ 2160), (N/A, 40), (N/A)

root@foo1:~# iw phy phy1 reg get
global
country GB: DFS-ETSI
    (2400 - 2483 @ 40), (N/A, 20), (N/A)
    (5150 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW
    (5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW
    (5470 - 5730 @ 160), (N/A, 26), (0 ms), DFS
    (5725 - 5850 @ 80), (N/A, 23), (N/A), NO-OUTDOOR
    (57000 - 71000 @ 2160), (N/A, 40), (N/A)

カードは次のとおりです。

0000:01:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
    Subsystem: Rivet Networks QCA6174 802.11ac Wireless Network Adapter
    Flags: bus master, fast devsel, latency 0, IRQ 253
    ...
    Kernel driver in use: ath10k_pci
    Kernel modules: ath10k_pci
...
0001:01:00.0 Network controller: Qualcomm Atheros QCA986x/988x 802.11ac Wireless Network Adapter
    Flags: bus master, fast devsel, latency 0, IRQ 254
    ...
    Kernel driver in use: ath10k_pci
    Kernel modules: ath10k_pci

私のWi-Fiカードはすべて2.4GHz帯域(hostapdを使用)でアクセスポイントとして機能しますが、カード固有の「NO-IR」フラグのため、どちらも5GHz帯域ではAPとして機能しません。

nl80211: Drv Event 36 (NL80211_CMD_REG_CHANGE) received for wlan1
nl80211: Regulatory domain change
 * initiator=1
 * type=0
 * alpha2=GB
wlan1: Event CHANNEL_LIST_CHANGED (27) received
Channel list updated - continue setup
nl80211: Regulatory information - country=GB (DFS-ETSI)
nl80211: 2400-2483 @ 40 MHz 20 mBm
nl80211: 5150-5250 @ 80 MHz 23 mBm (no outdoor)
nl80211: 5250-5350 @ 80 MHz 20 mBm (no outdoor) (DFS)
nl80211: 5470-5730 @ 160 MHz 26 mBm (DFS)
nl80211: 5725-5850 @ 80 MHz 23 mBm (no outdoor)
nl80211: 57000-71000 @ 2160 MHz 40 mBm
nl80211: Added 802.11b mode based on 802.11g information
nl80211: Mode IEEE 802.11g: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467[DISABLED] 2472[DISABLED] 2484[DISABLED]
nl80211: Mode IEEE 802.11a: 5180[NO_IR] 5200[NO_IR] 5220[NO_IR] 5240[NO_IR] 5260[NO_IR][RADAR] 5280[NO_IR][RADAR] 5300[NO_IR][RADAR] 5320[NO_IR][RADAR] 5500[DISABLED][RADAR] 5520[DISABLED][RADAR] 5540[DISABLED][RADAR]
nl80211: Mode IEEE 802.11b: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467[DISABLED] 2472[DISABLED] 2484[DISABLED]
Channel 44 (primary) not allowed for AP mode, flags: 0x16073 NO-IR
wlan1: IEEE 802.11 Configured channel (44) not found from the channel list of current mode (2) IEEE 802.11a
wlan1: IEEE 802.11 Hardware does not support configured channel
  • 私のワイヤレスカードを5GHz帯のアクセスポイントとして使用するためにカードの規制ドメインを変更できますか?
  • それでは、EEPROM regdomainGBを表す値からGBを表す値0x69にどのように変更しますか?0x64
  • それとも、緩いGB制限がカードの規制領域よりも優先されるようにすることはできますか?

ベストアンサー1

簡単に言えば、できません!カードを使用すると、現在のプログラム承認よりも多くの権利がある場所を選択することはできません。これはこれらの規制の要件です。 (実際、これらの規制には妥当な理由があります。悪意のあるネットワークカードが気象レーダーを妨害すると、何百万もの公共サービスを妨害する可能性があります。)

もちろん、ドライバーの作成者はある程度柔軟性があり、すべてのLinuxドライバーは本質的にオープンソースなので、次のことができます。できるドライバを修正して可能その領域を再プログラミングする能力。しかし、これは選択されたいくつかのカードでのみ機能し、実際にカードをプログラムしたい場所にいない場合は違法で倫理的に疑わしいです。あなたが好きな検索エンジンはあなたの友人です。もしカードで可能です。〜するカーネルドライバの変更、コンパイル、ロードなどが含まれます。

おすすめ記事