PERFORCE change 139526 for review

Sam Leffler sam at FreeBSD.org
Mon Apr 7 17:20:51 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=139526

Change 139526 by sam at sam_ebb on 2008/04/07 17:19:55

	update to show country and radio events

Affected files ...

.. //depot/projects/vap/tools/tools/net80211/wlanwatch/wlanwatch.c#7 edit

Differences ...

==== //depot/projects/vap/tools/tools/net80211/wlanwatch/wlanwatch.c#7 (text+ko) ====

@@ -434,6 +434,16 @@
 			printf("%s node authenticate",
 			    ether_sprintf(V(ieee80211_auth_event)->iev_addr));
 			break;
+		case RTM_IEEE80211_COUNTRY:
+			printf("%s adopt country code '%c%c'",
+			    ether_sprintf(V(ieee80211_country_event)->iev_addr),
+			    V(ieee80211_country_event)->iev_cc[0],
+			    V(ieee80211_country_event)->iev_cc[1]);
+			break;
+		case RTM_IEEE80211_RADIO:
+			printf("radio %s",
+			    V(ieee80211_radio_event)->iev_state ? "ON" : "OFF");
+			break;
 		default:
 			printf("what: #%d", ifan->ifan_what);
 			break;


More information about the p4-projects mailing list