Lines Matching refs:freq
47 def nl80211_frame(dev, ifindex, frame, freq=None, duration=None, offchannel_tx_ok=False): argument
49 if freq is not None:
50 attrs += build_nl80211_attr_u32('WIPHY_FREQ', freq)
63 def nl80211_remain_on_channel(dev, ifindex, freq, duration): argument
65 attrs += build_nl80211_attr_u32('WIPHY_FREQ', freq)
72 dev[0].p2p_start_go(freq='2412')
76 res = nl80211_frame(go, ifindex, frame, freq=2422, duration=500,
84 nl80211_frame(go, ifindex, frame, freq=2412)
94 freq = out.splitlines()
95 if len(freq) != 2:
96 raise Exception("Unexpected number of Action frames (%d)" % len(freq))
97 if freq[0] != "2422":
98 raise Exception("First Action frame on unexpected channel: %s MHz" % freq[0])
99 if freq[1] != "2412":
100 raise Exception("Second Action frame on unexpected channel: %s MHz" % freq[1])