--- zzzz-none-000/linux-4.1.52/include/linux/socket.h 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/include/linux/socket.h 2022-03-02 11:37:13.000000000 +0000 @@ -200,7 +200,13 @@ #define AF_ALG 38 /* Algorithm sockets */ #define AF_NFC 39 /* NFC sockets */ #define AF_VSOCK 40 /* vSockets */ +#ifdef CONFIG_BCM_KF_MHI +#define AF_MHI 41 /* MHI sockets */ +#define AF_RAW 42 /* RAW sockets */ +#define AF_MAX 43 /* For now.. */ +#else #define AF_MAX 41 /* For now.. */ +#endif /* Protocol families, same as address families. */ #define PF_UNSPEC AF_UNSPEC @@ -246,6 +252,10 @@ #define PF_ALG AF_ALG #define PF_NFC AF_NFC #define PF_VSOCK AF_VSOCK +#ifdef CONFIG_BCM_KF_MHI +#define PF_RAW AF_RAW +#define PF_MHI AF_MHI +#endif #define PF_MAX AF_MAX /* Maximum queue length specifiable by listen. */