Skip to content

Commit

Permalink
if_iwm - Recognize the IWM_UCODE_TLV_FW_MEM_SEG firmware section type.
Browse files Browse the repository at this point in the history
* Will be needed for loading version 22 of 7265D firmware.
  • Loading branch information
ivadasz committed Sep 20, 2016
1 parent a03785a commit 1d244c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sys/dev/netif/iwm/if_iwm.c
Expand Up @@ -924,6 +924,9 @@ iwm_read_firmware(struct iwm_softc *sc, enum iwm_ucode_type ucode_type)
le32toh(((const uint32_t *)tlv_data)[2]));
break;

case IWM_UCODE_TLV_FW_MEM_SEG:
break;

default:
device_printf(sc->sc_dev,
"%s: unknown firmware section %d, abort\n",
Expand Down
1 change: 1 addition & 0 deletions sys/dev/netif/iwm/if_iwmreg.h
Expand Up @@ -986,6 +986,7 @@ enum iwm_ucode_tlv_type {
IWM_UCODE_TLV_FW_DBG_CONF = 39,
IWM_UCODE_TLV_FW_DBG_TRIGGER = 40,
IWM_UCODE_TLV_FW_GSCAN_CAPA = 50,
IWM_UCODE_TLV_FW_MEM_SEG = 51,
};

struct iwm_ucode_tlv {
Expand Down

0 comments on commit 1d244c8

Please sign in to comment.