B_AX_WP_THRD_MASK
val = u32_encode_bits(cfg->wp_thrd, B_AX_WP_THRD_MASK);
pub_cfg->wp_thrd = u32_get_bits(val, B_AX_WP_THRD_MASK);