Do not copy an SSID into the probe request template because hardware will add the SSID by itself.
I have verified that probe requests transmitted by the device still look good and contain the SSID configured by ifconfig. Note that the in-tree driver does not send probe requests right now because active scanning is disabled. There are known problems when active scanning is enabled that I still need to get back to. ok? diff d5a17cd5fc2d0da90d4870589fc45e6eb0bb64f5 7559788cdf552c503c6d5124af11504b3bdf3e56 blob - cb9f612f1f103f2a3cb6563c3ad1a0ca49f7a47d blob + f4d61c5993c26ff5df5052cc26402c433d03a3ae --- sys/dev/pci/if_iwx.c +++ sys/dev/pci/if_iwx.c @@ -5007,7 +5007,9 @@ iwx_fill_probe_req(struct iwx_softc *sc, struct iwx_sc *(uint16_t *)&wh->i_seq[0] = 0; /* filled by HW */ frm = (uint8_t *)(wh + 1); - frm = ieee80211_add_ssid(frm, ic->ic_des_essid, ic->ic_des_esslen); + *frm++ = IEEE80211_ELEMID_SSID; + *frm++ = 0; + /* hardware inserts SSID */ /* Tell the firmware where the MAC header is. */ preq->mac_header.offset = 0;