Exception: P2P Listen success although in rfkill

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi guys


lkp-tests(https://github.com/01org/lkp-tests) enabled hwsim test recently, and currently

we have made most cases pass.


But when we test rfkill_p2p_discovery_p2p_dev case, it always failed.

#test env:
kconfig: x86_64-rhel-7.2
compiler: gcc-6
rootfs: debian-x86_64-2016-08-31.cgz
kernel: vmlinuz-4.13.0-rc1-00096-g54a7d50

#need_kconfig:
- CONFIG_WLAN=y
- CONFIG_CFG80211=m
- CONFIG_CFG80211_WEXT=y
- CONFIG_MAC80211=m
- CONFIG_MAC80211_HWSIM=m
- CONFIG_MAC80211_LEDS=y
- CONFIG_MAC80211_MESH=y
- CONFIG_MAC80211_DEBUGFS=y

#The error message like this
-----------------------------------------------------------------------------------------
2017-08-02 12:24:42     ./run-tests.py rfkill_p2p_discovery_p2p_dev
DEV: wlan0: 02:00:00:00:00:00
DEV: wlan1: 02:00:00:00:01:00
DEV: wlan2: 02:00:00:00:02:00
APDEV: wlan3
APDEV: wlan4
START rfkill_p2p_discovery_p2p_dev 1/1
Test: rfkill block/unblock P2P Discovery with P2P Device
rfkill block 0
rfkill block 1
rfkill unblock 0
rfkill unblock 1
wlan7: Trying to discover peer 02:00:00:00:00:00
rfkill block 0
rfkill block 1
P2P Listen success although in rfkill
Traceback (most recent call last):
  File "./run-tests.py", line 453, in main
    t(dev, apdev)
File "/lkp/benchmarks/hwsim/tests/hwsim/test_rfkill.py", line 181, in test_rfkill_p2p_discovery_p2p_dev
    _test_rfkill_p2p_discovery(wpas, dev[1])
File "/lkp/benchmarks/hwsim/tests/hwsim/test_rfkill.py", line 139, in _test_rfkill_p2p_discovery
    raise Exception("P2P Listen success although in rfkill")
Exception: P2P Listen success although in rfkill
FAIL rfkill_p2p_discovery_p2p_dev 1.821473 2017-08-02 12:24:44.237611
passed 0 test case(s)
skipped 0 test case(s)
failed tests: rfkill_p2p_discovery_p2p_dev
-------------------------------------------------------
it seems that rfkill can not block wpas. Thus, wpas listens to dev[1] all the time. Maybe rfkill do not have
the authority to block wpas.


any ideas ?



Thanks

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux