+ (((w_hdr->frame_ctl) & (1<<i))>0?1:0),
+ (i==15?"|\n":"|"));
+ printf(" | v | t | s-t |t|f|m|r|p|m|w|o|\n");
+ printf("debug: %d\n",(w_hdr->frame_ctl)<<15);
+ if((w_hdr->frame_ctl & IEEE802_11_STYPE_BEACON)>0) strcpy(tmp_buf,"beacon");
+ else strcpy(tmp_buf,"unknown");
+
+ printf("=> %s\n",tmp_buf);