NOTE: As of 2010-09-01, Intel does not care to add HOSTAP mode to the firmwares for 3945 and 4965 cards. These cards cannot be used as access points.

Intel 4965AGN:

/boot/loader.conf

legal.intel_iwn.license_ack=1
if_iwn_load="YES"
wlan_wep_load="YES"
wlan_ccmp_load="YES"
wlan_tkip_load="YES"

/etc/rc.conf

wlans_iwn0="wlan0"
ifconfig_wlan0="WPA DHCP"

/etc/wpa_supplicant.conf

eapol_version=1
ap_scan=1
fast_auth=1
network={
        ssid="CyberDen"
        scan_ssid=1
        priority=5
        key_mgmt=NONE
        wep_key0=HEXKEYHERE
        wep_tx_keyidx=0
}

Naive throughput: 2.5MB/sec sustained

Intel 3945ABG:

/boot/loader.conf

if_wpi_load="YES"
wlan_wep_load="YES"
wlan_ccmp_load="YES"
wlan_tkip_load="YES"

/etc/rc.conf

wlans_wpi0="wlan0"
ifconfig_wlan0="WPA DHCP"

/etc/wpa_supplicant.conf

eapol_version=1
ap_scan=1
fast_auth=1
network={
        ssid="CyberDen"
        scan_ssid=1
        priority=5
        key_mgmt=NONE
        wep_key0=HEXKEYHERE
        wep_tx_keyidx=0
}

Naive throughput: 2.2MB/sec sustained