Disconnection event with reason code

Is it possible to get the reason code of the disconnected station using the control interface event in Hostapd ?
Right now Disconnection event receiving in following format
AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx

How can I achieve Disconnection event in following format
AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx <reason_code>